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

Ignore self closing slash #2

Merged
merged 3 commits into from
Sep 6, 2018
Merged

Ignore self closing slash #2

merged 3 commits into from
Sep 6, 2018

Conversation

UziTech
Copy link
Member

@UziTech UziTech commented Sep 6, 2018

from bem#154


Adds an option to ignore the self closing slash

new HtmlDiffer().isEqual('<hr />', '<hr>'); // false

new HtmlDiffer({ ignoreSelfClosingSlash: true }).isEqual('<hr />', '<hr>'); // true

@UziTech UziTech merged commit 46becb0 into markedjs:master Sep 6, 2018
@UziTech UziTech deleted the ignore-self-closing-slash branch September 6, 2018 03:07
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.

1 participant