[X] I searched for existing Bug Reports and found no similar reports.
Expected Behavior
I suppose, when nothing but hyphens are left for class name, it better to remove this "name" completely.
Current behaviour
As I noticed recently, a name from a statblock is added to statblock's css classes. However, if non-Latin letters are used, they will be excluded.
For example, for the name Дракон Tláloc I'll get -tlloc as class name.
More over, if there are only non-Latin letters and even a few words, there is almost nothing in css classes, only hyphens. I mean, Дракон Тлалок transforms into -, that's all.
Reproduction
Launch Obsidian in Sandbox Vault
Install Fantasy Statblocks
Create a layout with the name Дракон Тлалок
Open developer tools to see what's was added to css class list as the name
### Which Operating Systems are you using?
- [ ] Android
- [ ] iPhone/iPad
- [ ] Linux
- [X] macOS
- [ ] Windows
### Obsidian Version Check
1.5.3
### Plugin Version
v3.16.3
### Confirmation
- [X] I have disabled all other plugins and the issue still persists.
### Possible solution
_No response_
Check for existing bug reports before submitting.
Expected Behavior
I suppose, when nothing but hyphens are left for class name, it better to remove this "name" completely.
Current behaviour
As I noticed recently, a name from a statblock is added to statblock's css classes. However, if non-Latin letters are used, they will be excluded. For example, for the name
Дракон Tláloc
I'll get-tlloc
as class name. More over, if there are only non-Latin letters and even a few words, there is almost nothing in css classes, only hyphens. I mean,Дракон Тлалок
transforms into-
, that's all.Reproduction
Дракон Тлалок