Hi devs,
I've been working with Guillaume Laforge on reimplementing our support of Markdown.
The current version we have relies on Pegdown's HTML serializer which we then read
with our HTML parser.
This causes several issues, amongst which:
*
http://jira.xwiki.org/browse/XRENDERING-237
*
http://jira.xwiki.org/browse/XRENDERING-236
So Guillaume and I have completely rewritten it, this time mapping the AST events
generated by Pegdown to XWiki Rendering events.
The work can be seen here:
https://github.com/glaforge/xwiki-rendering/tree/master/xwiki-rendering-syn…
It fully passes our CTS.
I'm this proposing to integrate this work in 4.5M1 since it fixes existing bugs.
There's a small risk that it's going to cause other bugs elsewhere but I think
it's worth it, especially seen that our markdown support is quite new.
Here's my +1
Thanks
-Vincent