Skip to content

For checkboxes, attributes are placed at wrong element #34

@xarx00

Description

@xarx00

Check for existing bug reports before submitting.

  • 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
  • Windows

Obsidian Version Check

1.5.8

Plugin Version

1.2.2

Confirmation

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

Possible solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions