[xwiki-devs] [Discussion] Designing the new Rendering/Parsing component/API

Vincent Massol vincent at massol.net
Fri Sep 21 09:17:07 CEST 2007


On Sep 20, 2007, at 5:14 PM, Sergiu Dumitriu wrote:

> Sorry for the late reply, I didn't see your mail.
>
>>
>>> "HTMLParser: I think all parsers above need to support HTML since
>>> the wiki syntaxes can be mixed with HTML"
>>>
>>> I don't understand this. What does manually entered HTML have to do
>>> with wiki parsing?
>>
>> Because in wiki content user can introduce HTML.
>
> Yes, but HTML should be left as-is. I don't see why it should be
> parsed. Do you have a use-case for parsing HTML together with the wiki
> syntax into a DOM?

I wrote this before I understood that they would be inserted in a  
verbatim block. So yes you're right, there's no point to parse them  
for the main view use case.

[snip]

Thanks
-Vincent



More information about the devs mailing list