A shaped body suitable for use as acid-releasing body in toilets includes 10-95% of a lactic acid oligomer with an average degree of polymerization between 1.8 and 4. The shaped body provides for the controlled release of lactic acid, which serves to reduce or prevent to the formation of calcium and magnesium deposits in the toilet, contributes to soap scum removal, and has a sanitizing and disinfecting effect. The shaped bodies may be used in-bowl or in-cistern.