On Apr 16, 2009, at 4:33 PM, Anca Paula Luca wrote:
Vincent Massol wrote:
Hi devs,
We need to come to a conclusion for handling New Lines(NL) and white spaces (WS) in HTML and Velocity Macro. If you remember from http://markmail.org/thread/mhqhxnz5twhev5se the current problem is that we cannot indent scripts since WS and NL are meaningful.
I'd like to reiterate the proposal that was sent but not enough people voted on it (only Thomas did).
A) For the HTML macro, we propose to make the following changes: - strip NL/WS between elements (elements that don't accept CDATA) - strip leading/trailing NL/WS for element content before passing them to the wiki syntax parser
But if macro specifies wiki=no, then all whitespaces should be interpreted HTML style.
yes, this is only for when wiki=true. [snip] Thanks -Vincent