Skip to content

Code blocks render "!=" as "≠" #11486

@terminalmage

Description

@terminalmage

Search first

  • I searched and no similar issues were found

What Happened?

When using code blocks, the characters != are rendered as . The underlying text is still != and copy-and-paste from the code block will produce the expected code, but a code block should not be rendering the value differently from what was pasted in.

Reproduce the Bug

  1. Start a code block using triple-backticks
  2. Add the text foo != bar to the code block
  3. Leave the block to allow Logseq to render the code block

Expected Behavior

The code block should show:

foo != bar

However, the code block instead shows:

foo ≠ bar

Screenshots

No response

Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions