turndown icon indicating copy to clipboard operation
turndown copied to clipboard

parentheses in anchor tags aren't escaped

Open mmkal opened this issue 5 years ago • 1 comments

Example input:

<a href="https://en.wikipedia.org/wiki/Democratic_Party_(United_States)">Democratic Party</a>

Expected output

[Democratic Party](https://en.wikipedia.org/wiki/Democratic_Party_\(United_States\))

Actual output:

[Democratic Party](https://en.wikipedia.org/wiki/Democratic_Party_(United_States))

mmkal avatar Mar 12 '19 21:03 mmkal

(awesome lib, btw - I'm able to work around this issue and the other one I filed pretty easily with a custom rule but thought it was worth pointing out in case you want to put a fix in this package too)

mmkal avatar Mar 12 '19 21:03 mmkal