Skip to content

Conversation

robinst
Copy link
Owner

@robinst robinst commented Feb 5, 2016

  • ; is now treated the same as , and :
  • < and > now also need to match, same as other brackets
  • / can still be within or at the end of an URL, but if it's within a
    group of other delimiters, it behaves as a delimiter

Together, these new rules result in ">, "/> and "); to be excluded
at the end of links, while hopefully not messing with the overall
heuristics too much.

* `;` is now treated the same as `,` and `:`
* `<` and `>` now also need to match, same as other brackets
* `/` can still be within or at the end of an URL, but if it's within a
  group of other delimiters, it behaves as a delimiter

Together, these new rules result in `">`, `"/>` and `");` to be excluded
at the end of links, while hopefully not messing with the overall
heuristics too much.
robinst added a commit that referenced this pull request Feb 9, 2016
Treat more special characters as trailing delimiters (#3)
@robinst robinst merged commit 9a6c3f9 into master Feb 9, 2016
@robinst robinst deleted the issue-3-angle-brackets-and-slash branch February 10, 2016 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant