Ah, now I see. That battery probably exploded when the previous owner had it, hence why it was free. I would be surprised if it "just exploded" as you opened the top housing.
Look on the bright side- it's only an LC. If it had been an SE/30, or a Power Mac 5400 (you know, a "real Mac") then the loss would have been more devastating.