On 17 Aug 2008, at 11:05, Thomas Broyer wrote:
> On Sun, Aug 10, 2008 at 4:53 PM, Geoffrey Sneddon wrote: >> >> What's the use of --escape-rcdata? Surely because of the content >> models escaping its content results in it creating a different parse >> tree? Why have it? > > RCDATA allows < along with plain < characters. --escape-rcdata > outputs < while the default behavior is to output a <. > > This could be improved, as a & will be output as-is by default, and > can thus cause parse errors if the output is parsed again. Also, by > default, a "</" sequence will cause an error (when serializing *then* > re-parsing) instead of being output as "</". > > Generally speaking, options of the serializer allows you to choose > between a more compact or more readable (or even XML-like) output. Yeah, thanks, perhaps if I could actually properly read the spec things would make more sense. :) -- Geoffrey Sneddon <http://gsnedders.com/> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "html5lib-discuss" group. To post to this group, send email to html5lib-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/html5lib-discuss?hl=en-GB -~----------~----~----~----~------~----~------~--~---