Skip to content

Is this a Bug? With **"_mode=block"** classes in render appear to lack wltc ?? #68

@pmario

Description

@pmario

Is this a Bug? With "_mode=block" classes in render appear to lack wltc ??

@pmario by accident today, whilst using the HTML preview a lot I noticed that now the wltc class appears NOT to be always applied. Here is the the easiest case I could come up with ...

Q: Is this behavior by design or maybe a side effect of recent changes?? Anyway I thought you should know.

\customise single=TEST-BLOCK-CLASS _element=div _mode=block _classes=".test-class"
\customise single=TEST-INLINE-CLASS _element=div _mode=inline _classes=".test-class"

›TEST-BLOCK-CLASS Testing application of "classes" to _mode=block --- FAILS to include `wltc`

›TEST-INLINE-CLASS Testing application of "classes" to _mode=inline --- SUCCESS to include `wltc`

HTML ...

<div class="test-class wltc-l1">
<p>Testing application of &quot;classes&quot; to _mode=block — FAILS to include <code>wltc</code></p>
</div>
<div class="test-class wltc-l1 wltc">
Testing application of &quot;classes&quot; to _mode=inline — SUCCESS to include <code>wltc</code>
</div>

Originally posted by @TiddlyTweeter in #56 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    custom-markupcan be used to apply new wikitext formatting to content

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions