ebullient / obsidian-show-whitespace-cm6

Show leading/trailing whitespace
GNU Affero General Public License v3.0
14 stars 2 forks source link

EOL character always showing #109

Closed joaonc closed 4 months ago

joaonc commented 4 months ago

Input data (markdown source)

n/a

Expected Behavior

Expected that when the show whitespace option is off, all characters (whitespaces and end of line) would not appear.

Current behaviour

When the plugin is enabled, the EOL character is always showing, even when the show toggle option is off (option added in 0aaa4a3ebaa7fc5c56aced0cf4234d49938ab22c / release 0.1.6).


Toggle on

Showing whitespace characters: image

Toggle off

Not showing whitespace characters (still showing EOL): image

Currently the workaround is to disable the plugin.

Steps to reproduce

  1. Install plugin (do not enable)
  2. Verify no white spaces or eol characters appear
  3. Enable plugin
  4. Verify both white spaces and eol characters appear
  5. Toggle "show whitespaces"
  6. Verify whitespaces no longer appear appear (expected) but EOL still appears (not expected).

Which Operating Systems are you using?

Obsidian Version

1.5.12

Tasks Plugin Version

0.1.16

Checks

Possible solution

No response