This is how I would have implemented CDATA sections. I agree it should be turned off by default. "Rewriting" applications that need this kind of control, like an XML editor for instance, are probably less common than normal uses. Van Gale