obsidian-colorful-tag icon indicating copy to clipboard operation
obsidian-colorful-tag copied to clipboard

Underscores break background and text color

Open Chouffy opened this issue 1 year ago • 1 comments

Hi,

Thanks for this module! It's much better than mess around with CSS. However, I experience the following issue: if a tag contains a underscore _, then the coloring of text & background stops at the # of the tag.

How to reproduce:

  1. Install colorful-tag version 1.3.2 using Obsidian Community plugins

  2. Create a note with the following

- [ ] #task/inbox #area/work 
- [ ] #task/inbox #area/work/update 
- [ ] #task/inbox #area/work/notes_management 
  1. In colorful tag settings, add the #area/work tag, define a background, text color and activate nest tags:

image

  1. Check the result in "normal" mode

image

Note: this isn't the case in reading mode:

image

Let me know if you need further details! Thanks

Chouffy avatar Jan 03 '23 14:01 Chouffy

I have this issue on the latest version (1.3.2) too.

e-alizadeh avatar Jun 21 '23 02:06 e-alizadeh