-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
underscore conversion for italics broken in pandoc-2.4 #5053
Comments
My guess is that this is due to commit 9b0bd4e |
Note: commit 9b0bd4e made possible the fix to #4635, so simply reverting it breaks that test. The whole It would be nice to find a cleaner overall solution. But a simple fix for this would also be welcome. |
Workaround:
outputs as
Tip: add a dummy class so that you can remove the hack with a filter once the bug gets fixed! |
Another workaround would be to switch the order, wouldn't it?
|
Ah, I didn't zoom all the way in to see the difference. Although in the example, shouldn't both em-dash be in italic? |
@agusmba, I only intended to show the difference between the roman and italic glyphs (it was the best way it came to my mind). |
Another example that seems to trigger this regression is:
Before 2.4, it used to render as 2 emphasis spans, but now it renders as:
|
Fixed by edc6510 |
pandoc-2.4
convertsinto
pandoc-2.3
parsed it as:I’m afraid it might be a bug.
The text was updated successfully, but these errors were encountered: