I used to charge my battery in the tank until someone on this forum posted a picture of battery that had burst into flames whilst he'd been charging it.
Luckily it wasn't in his tank when this happened but he'd been using a good quality battery and charger which shocked a few people and changed a few peoples minds about charging in tanks.