Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for incorrect rendering of deprecated code #2181

Closed
wants to merge 1 commit into from
Closed

Fix for incorrect rendering of deprecated code #2181

wants to merge 1 commit into from

Conversation

stevenzeck
Copy link

Closes #2177. This PR fixes an issue where consecutive ContentText nodes have strikethrough styling. This isn't the best fix, but it's the cleanest as it only changes CommonmarkRenderer. Instead of surrounding ContentText with ~~, it surrounds it with <s> and </s>. I think ideally the ContentGroup should be surrounding with strikethrough instead of each text, but that requires more changes.

@vmishenev vmishenev self-requested a review October 13, 2021 13:49
@vmishenev vmishenev force-pushed the master branch 2 times, most recently from de135ce to 4397c96 Compare December 7, 2021 17:10
@vmishenev
Copy link
Member

#2622 Now we have strikethrough only for declaration names and not for the whole signature as before.

@vmishenev vmishenev closed this Oct 12, 2022
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.

Gfm adding consecutive ~~ for deprecated code
2 participants