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

Fontification issue with underscore bold followed by italic #731

Closed
denisw opened this issue Oct 21, 2022 · 2 comments
Closed

Fontification issue with underscore bold followed by italic #731

denisw opened this issue Oct 21, 2022 · 2 comments

Comments

@denisw
Copy link

denisw commented Oct 21, 2022

When using underscores marking a word as bold and, later on the same line, another word as italic, like this:

__ONE__ TWO _THREE_

then the text between the bold and italic text is errornously fontified as italic.

Expected Behavior

In the above example, only "THREE" should be displayed in italics.

Actual Behavior

Both "TWO" and "THREE" are displayed in italics. For other combinations of bold / italics forms, all is well.

Screenshot 2022-10-21 at 16 24 47

Steps to Reproduce

In a markdown-mode buffer, type __ONE__ TWO _THREE_.

Software Versions

  • Markdown Mode: 2.6-dev
  • Emacs: 28.2
  • OS: macOS Monterey
@syohex
Copy link
Collaborator

syohex commented Oct 22, 2022

@denisw Thanks for reporting issue. I have merged #732. Please check latest version.

@denisw
Copy link
Author

denisw commented Oct 22, 2022

@syohex Thank you for the quick fix! This solved the issue for me. 👍

@denisw denisw closed this as completed Oct 22, 2022
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

No branches or pull requests

2 participants