-
-
Notifications
You must be signed in to change notification settings - Fork 279
Ignore empty title attributes #206
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
Conversation
Thanks for the pull request! Before I can merge it:
Thank you! |
Sorry, i don't get the htmlinput mechanism. 😞 The bugfix does not touch the html-to-html conversion but only the html-to-kramdown conversion. I do not understand how i would write the test such that the backwards conversion (kramdown-to-html) is skipped. |
The test cases were written originally written to be in the direction text -> HTML. However, later on other directions were added, like text -> kramdown -> HTML, HTML -> kramdown -> HTML, ... Normally, when testing the HTML -> kramdown direction, the |
Seems like I finally fixed it... ✨ 🚀 |
Thanks for the fix! I have squashed the commits and attributed the final one to you. |
Thank you for merging! 👍 |
Fixes #199.
The fix is not complete though as some tests still fail. This is because conversion is not reversible for empty title attributes:
but
and therefore
assert_equal
fails.Any suggestions? Should I avoid these tests?