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

fixing inline html #2342

Merged
merged 7 commits into from
Nov 6, 2018
Merged

fixing inline html #2342

merged 7 commits into from
Nov 6, 2018

Conversation

daiyam
Copy link
Contributor

@daiyam daiyam commented Aug 25, 2018

This change fixes the issue #1992.

The issue was due to an incompatibility between markdown-it and sanitize-html.
markdown-it is splitting <kbd>Ctrl</kbd> in 3 parts <kbd>, Ctrl and </kbd>.
The opening and closing parts were then given to sanitize-html which corrects each string to valid html.

<kbd> became <kbd></kbd>.
<kbd> became empty.
So <kbd>Ctrl</kbd> became <kbd></kbd>Ctrl

@IssueHuntBot IssueHuntBot mentioned this pull request Aug 25, 2018
@kazup01 kazup01 added the awaiting review ❇️ Pull request is awaiting a review. label Aug 27, 2018
Copy link
Member

@Rokt33r Rokt33r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Is it possible to create some tests for this?

@Rokt33r Rokt33r added awaiting changes 🖊️ Pull request has been reviewed, but contributor needs to make changes. and removed awaiting review ❇️ Pull request is awaiting a review. labels Sep 15, 2018
@daiyam
Copy link
Contributor Author

daiyam commented Sep 15, 2018

@Rokt33r I've added a test and fixed a bug found due to it.

@ZeroX-DG ZeroX-DG added approved 👍 Pull request has been approved by sufficient reviewers. and removed awaiting changes 🖊️ Pull request has been reviewed, but contributor needs to make changes. labels Oct 29, 2018
@Rokt33r Rokt33r merged commit efa0072 into BoostIO:master Nov 6, 2018
@Rokt33r Rokt33r added next release (v0.11.12) and removed approved 👍 Pull request has been approved by sufficient reviewers. labels Nov 6, 2018
@daiyam daiyam deleted the bug-1992 branch November 6, 2018 08:25
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.

4 participants