javalent / markdown-attributes

Add attributes to elements in Obsidian
MIT License
94 stars 7 forks source link

For checkboxes, attributes are placed at wrong element #34

Open xarx00 opened 8 months ago

xarx00 commented 8 months ago

Check for existing bug reports before submitting.

Expected Behavior

When I place the attribute after a chekbox list item

- [!] Some text { .ttest }
- [ ] Some other text { .ttest }

the attribute will be added to the <li> element.

Current behaviour

Instead, the attributes are placed at the <input> element: image

Reproduction

See Expected Behavior. I export the HTML using the "Webpage HTML Export" plugin. (All other plugins are off.) In the browser in the right-click menu I choose View Page Source.

Which Operating Systems are you using?

Obsidian Version Check

1.5.8

Plugin Version

1.2.2

Confirmation

Possible solution

No response