Nested tag beginning with a forward slash has issues (no tag `/` name or total tag count)

Steps to reproduce

  1. Create a nested tag beginning with a forward slash: #/a/b/c.
  2. Check the Tags tab.

Did you follow the troubleshooting guide? Y

Expected result

The root parent tag is / and should be displayed as such in the Tags tab, and a value of 3 should be displayed on its right (as is shown for all parent tags).

Actual result

Blank tag name and no total tag count for child tags. See screenshot.

Environment

SYSTEM INFO:
	Obsidian version: v1.6.7
	Installer version: v1.6.7
	Operating system: Windows 11 Pro 10.0.22631
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

Obsidian_2024-09-27_18-37-49

We don’t support nested tags beginning with a /.

Thanks for the response. Ideally the user would be prompted to fix their tags else the UI ends up looking broken rather than unsupported.

The reason for me doing this was to try and group tags which I use more like folders / categories together, leaving only inline tags on the root level, such as #fixme, so only these get suggested when typing. Presumably I can use a character other than / as the root parent tag for this purpose. I went with / mostly because I thought it looked good and was easier to type as #/a/b/c over #-/a/b/c, or #folders/a/b/c for example.