Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: disallow ascii control characters in URLs
Closes jonschlinkert#332 The code here is very similar to other markdown libraries, so I pretty much did what they do: - https://github.com/npm/marky-markdown/blob/008509231558765695938020a376b5b2e4fd4fcc/lib/gfm/override-link-destination-parser.js#L67 - https://github.com/markdown-it/markdown-it/blob/ba6830ba13fb92953a91fb90318964ccd15b82c4/lib/helpers/parse_link_destination.js#L53
- Loading branch information