Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to remove regular expressions #96

Closed
wants to merge 1 commit into from
Closed

Commits on Dec 14, 2015

  1. Refactor to remove regular expressions

    ...in favour of an algorithmic approach.
    
    New features:
    
    *   Add support for `silent` mode on tokenisers, which will
        detect whether a given value would match that tokeniser,
        but without eating any actual content.
    *   Plugging into the parser is singificantly improved;
    *   Searching for upcomming inline nodes is improved by allowing
        `locator`s to search for possible places where nodes start.
    
    Fixes:
    
    *   Better handling of mismatched parentheses in links;
    *   Continued block-quotes in non-GFM-mode;
    *   Block-quotes followed by lazy definitions in commonmark-mode;
    *   Malformed HTML block elements are no longer supported;
    *   Bug where GFM’s literal URL detection could detect e-mail addresses
        without an at-character;
    *   Bug where `mailto:` literal URLs were not properly stripped
        of their protocol.
    
    Todo:
    
    *   A lot of places support escaped (a slash followed by another character),
        instead of allowing any character to be escaped, only certain characters
        should be supported (e.g., all ASCII-character for commonmark-mode, and
        several separate subsets on other flavours).
    
    [ci skip]
    wooorm committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    6d13eb5 View commit details
    Browse the repository at this point in the history