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

Treat <del> tag (used for strikethrough text) as a compact tag #387

Merged
merged 1 commit into from
Sep 16, 2020
Merged

Treat <del> tag (used for strikethrough text) as a compact tag #387

merged 1 commit into from
Sep 16, 2020

Conversation

mediremi
Copy link
Contributor

The issue

The <del> tag, which is used to render ~~strikethrough text~~, is currently rendered using this defintion of _to_html/4. Unfortunately, this results in a newline being output before the closing tag and so the strikethrough effect is longer than it should be.

Before the fix

image

After the fix

image

@RobertDober
Copy link
Collaborator

Nice catch, ty, I will merge this as soon as I have time to fix the failing doctest, if you happen to have time to do it yourself, ... do not hesitate 👍

But thank you in any case.

@RobertDober RobertDober merged commit 949ddaa into pragdave:master Sep 16, 2020
@RobertDober
Copy link
Collaborator

Wooow that was fast, funny message, push crossing here.
Thanks again

@mediremi
Copy link
Contributor Author

No problem and thanks for Earmark!

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.

2 participants