Skip to content

[BUG] testcase-widget produces redundant HMTL tags: P DIV DIV P #8741

Open
@pmario

Description

@pmario

Describe the bug

The testcase-widget produces redundant HMTL tags: P DIV DIV P

Where 2 of them are easy to identify.

  1. P-tag: is cause by $:/core/ui/ViewTemplate/body redundant new-lines
  2. Is created by the testcase-widget in testcase.js
    2.1 This one should get a default class eg: class="tc-testcase" similar to the revealwidget
    2.2 The testcase widget should also get a class-parameter so users can define a custom class here
  3. No idea yet, where they come from

grafik

Expected behavior

Only the necessary DOM elements should be created. Redundant tags should go away.

TiddlyWiki Configuration

v5.3.6-pre
No regression. This is also a problem in v5.3.5

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