Commits on Jun 1, 2015
  1. Bump version to 1.4.0

    JordanMilne committed Jun 1, 2015
  2. Re-enable bare email autolinks

    JordanMilne committed Jun 1, 2015
    The underlying rewind bug that made me disable this is fixed
Commits on May 13, 2015
  1. Handle r/foo and u/bar links with no leading slash

    JordanMilne committed Apr 28, 2015
    This means we now do a lookbehind from the slash after `[ur]`,
    then do a lookahead to validate the subreddit / user name.
    Also, add add proper lookbehinds to detect escaped legacy shortlinks,
    `max_lookbehind` is how far back we can look,
    `max_rewind` is how back we can touch.
    This helps us distinguish `\\/r/foo` from `\/r/foo`, and `r/foo` when
    looking back from the second forward slash.
  2. Fix encoding for numeric entities with values < 12

    JordanMilne committed May 12, 2015
    Also test entities that should work as well as stuff that
    should be filtered (whoops!)
Commits on May 11, 2015
  1. Normalize `x` in hex entities to lowercase

    JordanMilne committed May 11, 2015
    As it turns out, many XML parsers (souptest's included) *really*
    don't like uppercase `x`s there. `&#X3E` == "invalid decimal value"!
Commits on Apr 16, 2015
  1. Add tools for fuzzing snudown

    JordanMilne committed Apr 12, 2015
    Automagically takes our testcases, plugs them into American Fuzzy
    Lop, then makes sure that they output valid HTML. Neato.
  2. Don't autolink a bare URL if it's part of a previous inline

    JordanMilne committed Sep 25, 2014
    Previously it was possible to get the renderer to truncate the
    output at a point that would cause it out output unbalanced tags,
    for ex.
    `/r/irc://` -> `<a href="/r/irc">/r/irc<<a href="irc://foo[…]`
    Not great. This commit attempts to mitigate that by tracking the end
    of the last inline and making sure rewinds don't run past it. This is
    similar to the approach taken by @vmg in rinku:
  3. Fix handling of raw control characters in autolinked URLs

    JordanMilne committed Mar 8, 2015
    Control characters == 2 in the escape table, don't skip by those!
Commits on Feb 25, 2015
  1. Bump to version 1.3.2.

    spladug committed Feb 25, 2015
  2. Named HTML entities can be alphanumeric

    JordanMilne committed Feb 25, 2015
    This fixes entities like `&frac12;`
  3. Bump to version 1.3.1.

    spladug committed Feb 25, 2015
  4. Add a missing chunk of entities to html_entities.gperf

    JordanMilne committed Feb 25, 2015
    QtCreator probably stole them with its strange touchpad gestures. Oops!
  5. Bump to version 1.3.0.

    spladug committed Feb 25, 2015
  6. Add tests for entities

    JordanMilne committed Feb 24, 2015
  7. Fix numeric and named entity validation

    JordanMilne committed Feb 22, 2015
    We now escape entities that we're sure aren't valid, or don't
    match a whitelist of named entities (if applicable.)
Commits on Sep 21, 2014
  1. Bump to version 1.2.0.

    spladug committed Sep 20, 2014
  2. Don't autolink bare email addresses

    JordanMilne committed with spladug Sep 11, 2014
    This fixes an issue where the beginning of an email would have its
    underscores treated as emphasis delimiters, then would decide it
    was an email when it hit the '@'.
    Since there's no easy way for the rewind code to account for that,
    and it can rewind back into the middle of a tag, we just don't
    touch bare email addresses.
Commits on Sep 11, 2014
  1. Fix various rewinds when embedded NULs are involved

    JordanMilne committed Sep 8, 2014
    `strchr("foo", '\0')` returns non-null, who knew.
Commits on Apr 2, 2014
  1. Bump to version 1.1.6.

    spladug committed Apr 2, 2014
Commits on Sep 1, 2013
  1. Update valid_uris_count for autolinking.

    spladug committed Sep 1, 2013
    Fixes #54.
Commits on Jul 15, 2013
  1. Merge pull request #53 from lebeauc/master

    spladug committed Jul 15, 2013
    Add ts3server as a valid link scheme
Commits on Jun 10, 2013
Commits on May 22, 2013
  1. Bump to version 1.1.5.

    spladug committed May 22, 2013
Commits on Mar 23, 2013
  1. Merge pull request #50 from sakjur/master

    spladug committed Mar 23, 2013
    Update reference to Sundown
Commits on Feb 26, 2013
  1. Bump to version 1.1.4

    spladug committed Feb 26, 2013
  2. Don't autolink /R/subreddit.

    rram committed with spladug Feb 26, 2013