incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murray Altheim <murra...@altheim.com>
Subject Re: no HTML in wiki pages?
Date Wed, 20 Feb 2008 11:31:13 GMT
Florian Holeczek wrote:
> Hi Murray,
> 
> thanks for your quick answer!
> 
> I see, so only HTML _tags_ are prohibited by default, but not HTML
> escape characters. Makes sense :-)
> 
> I've now entered &amp;lt; for displaying &lt; and it works fine.

Hi Florian,

Yes, when HTML parsing is turned off, of the common HTML markup
characters ('<','>','&', '"' and '\'' if memory serves) are treated
like normal characters during parsing and expressed as character
entities when sent to the output (so that the browser treats them
as characters instead of markup). When HTML parsing is turned on
they are considered as markup.

So it's not so much that tags are prohibited, it's that the markup
characters that form tags are simply not recognized as markup, hence
the parser recognizes no tags, just some funky math-like characters.

Murray

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record

Mime
View raw message