You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Benz (JIRA)" <ji...@apache.org> on 2017/02/03 17:21:51 UTC

[jira] [Created] (DOXIA-554) Parsing time for Markdown documents can take very long an hang site generation

Michael Benz created DOXIA-554:
----------------------------------

             Summary: Parsing time for Markdown documents can take very long an hang site generation
                 Key: DOXIA-554
                 URL: https://issues.apache.org/jira/browse/DOXIA-554
             Project: Maven Doxia
          Issue Type: Bug
          Components: Module - Markdown
    Affects Versions: 1.7
            Reporter: Michael Benz


The parsing time for Markdown documents can take very long an hang site generation when e.g. long tables are being generated.

The author of pegdown has marked the pegdown project deprecated since 14.12.2016 [pegdown.org / https://github.com/sirthias/pegdown/](http://pegdown.org) and advises to switch to [flexmark-java] (https://github.com/vsch/flexmark-java).

{quote}
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.
{quote}

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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)