Skip to content

When using the copy button, strange whitespace characters are included. #148

@PrayerLi

Description

@PrayerLi
Image Image

Description:
As shown in the image, when using the copy button provided by CodeblockCustomizer, strange whitespace characters are introduced into the copied code. These characters are invisible but can be identified using the search box in VS Code.

When the plugin is disabled and the default Obsidian copy button is used, this issue does not occur.

Impact:
This is a issue because:

  • C code copied this way fails to compile.
  • Matlab scripts become unexecutable due to these illegal characters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions