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

Bug: Wrapping text in markdown highlight sometimes introduces nonbreaking spaces #221

Open
7 of 13 tasks
living-creatures opened this issue Jul 30, 2023 · 0 comments
Open
7 of 13 tasks
Assignees
Labels
bug/issue Something isn't working

Comments

@living-creatures
Copy link

Bug Description

Sometimes, seemingly randomly, wrapping text in markdown highlight tags (==) in Obsidian "Live Preview" and/or "Source mode" in the editor can introduce a random nonbreaking space character into a word. (See the attached screenshot.) It doesn't seem to matter which font is set as primary text font within Obsidian.

Obsidian bug

Switching to the default Obsidian theme seems to make the random, nonbreaking space disappear. Similarly, switching to "Reading" mode in the editor makes the nonbreaking space disappear.

screen 2023-07-30 at 11 00 59 AM

To Reproduce

This issue is not easily repeatable, and it's not clear why the nonbreaking spaces are being inserted.

Expected behavior

Wrapping text in Markdown highlight tags should not introduce nonbreaking spaces into the block of text in any editor mode.

Relevant Screenshot(s)

See above.

Obsidian Version

1.3.5

Installer Version

1.3.5

Font Size

22

Which editor are you using?

  • New Editor
  • Legacy Editor

In which mode(s) does the problem occur? (if applicable)

  • Reading View (Preview)
  • Editing View - Source Mode
  • Editing View - Live Preview

Which operating system?

  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Checklist

  • I updated to the latest version of the theme (Settings → Appearance → Themes - Manage → Update).
  • I made sure that the issue is related to this theme by checking that the problem does not occur with the default theme.
  • If the bug occured after updating the theme, I read the last couple Releases to make sure the bug is not an intentional change.

Additional Context

No response

@living-creatures living-creatures added the bug/issue Something isn't working label Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/issue Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants