showdownjs / ng-showdown

Angular integration for Showdown
BSD 3-Clause "New" or "Revised" License
105 stars 33 forks source link

Strikethrough does not work in code blocks #34

Open JHaller27 opened 5 years ago

JHaller27 commented 5 years ago

Strikethroughs in code blocks formatted with strikethrough (rather than displaying bare symbols).

Example:

Code Expected Actual Comment
~~text~~ text text Good so far
`~~text~~` | ~~text~~ text Strikethrough should not display
`**text**` | **text** | **text** For example, bold works as expected
SyntaxRules commented 5 years ago

I pulled up the showdown editor and confirmed that this is not an issue in the latest showdown.js. That means its likely that upgrading the showdown.js dependency in package.json will fix this issue.

If you care to speed up the process, could you check that upgrading the showdown version solves this issue for you? In any regard, I'll release a new version: 1.2.0 soon and check it there.