[alicebot-archcomm] Whitespace clarification
Jonathan Roewen
alicebot-archcomm@list.alicebot.org
Tue, 16 Sep 2003 11:11:15 +1200
> I'm not completely sure I understand the issue here, but it defies common
> sens to parse all CDATA. Sometimes "unmarked" text contains multiple
> white spaces on purpose. Properly formatted English paragraphs are
> supposed to have two whitespaces at the end of every sentence. If
> wrapping this plain text paragraph in a <template> (or for that matter a
> <p>) tag is going to compress sentence-ending dual-whitespaces into single
> ones, it sort of defeats the purpose of text "markup" IMHO.
>From my understanding, this is what is supposed to happen.
In this case, the XML attribute: xml:space="preserve" should be used to
retain all formatting information, and then whitespace should be left as is,
but should check the specs for that, as I'm not sure if the line-terminating
normalisation still applies.
Jon