obsidian-markdown-attributes icon indicating copy to clipboard operation
obsidian-markdown-attributes copied to clipboard

For checkboxes, attributes are placed at wrong element

Open xarx00 opened this issue 11 months ago • 0 comments

Check for existing bug reports before submitting.

  • [X] I searched for existing Bug Reports and found no similar reports.

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?

  • [ ] Android
  • [ ] iPhone/iPad
  • [ ] Linux
  • [ ] macOS
  • [X] Windows

Obsidian Version Check

1.5.8

Plugin Version

1.2.2

Confirmation

  • [X] I have disabled all other plugins and the issue still persists.

Possible solution

No response

xarx00 avatar Mar 07 '24 10:03 xarx00