You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some tags such as <b> and <i> do not work when passed in the keep() and remove() methods. The tags are still converted to markdown even when it was instructed to either keep the tags or remove the tags.
Because the current implementation uses the pre-defined replacement rules before keep-rules and remove-rules. The fix is changing order of rules simply. But I can't say it's backward compatible.
The same issue is happen when user defined the custom replacement rules of strikethrough(del tag) or underline(ins tag).
Some tags such as
<b>
and<i>
do not work when passed in thekeep()
andremove()
methods. The tags are still converted to markdown even when it was instructed to either keep the tags or remove the tags.Here is an example to reproduce this...
Turndown v7.1.3
The text was updated successfully, but these errors were encountered: