Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7
-
None
Description
The parsing time for Markdown documents can take very long and hang site generation when e.g. long tables are being generated.
The author of pegdown has marked the pegdown project deprecated since 2016-12-14 pegdown.org and advises to switch to flexmark-java.
The project is essentially unmaintained with tickets piling up and crucial bugs not being fixed.
pegdown's parsing performance isn't great. In some cases of pathological input runtime can even become exponential, which means that the parser either appears to "hang" completely or abort processing after a time-out.
Since the parsing timeout was increased in DOXIA-498 it is now possible to "hang" the site creation with a longer table like the one in this example.
In case this sample is rendered using version 3.3 of the maven site
Attachments
Attachments
Issue Links
- causes
-
DOXIA-571 Markdown does not support syntax highlighting any more
- Closed
- is depended upon by
-
DOXIA-567 update dependency schema: pegdown not used any more but flexmark-java
- Closed
- is related to
-
DOXIA-523 Ampersands after hash in markdown link syntax are now throwing parse errors.
- Closed
-
DOXIA-568 Doxia Markdown extension > Support for some MarkDown extensions has been removed since 1.7
- Closed
- is required by
-
MSITE-791 upgrade Doxia to 1.8 to benefit from new Markdown parser (require Java 7)
- Closed
- relates to
-
DOXIA-553 Replace pegdown due to deprecation and end of life notice
- Closed