Closed hituro closed 1 year ago
Describe the bug. When Config.cleanupWikifierOutput = true, the contents of a <<cycle>> macro are wrapped in a <p> tag after the first click.
Config.cleanupWikifierOutput = true
<<cycle>>
<p>
To Reproduce: The following code, in a file with Config.cleanupWikifierOutput = true
<<nobr>><<cycle "_blah">> <<option "Towel">> <<option "π" 3.14159>> <<option 42>> <<option 69>> <<option "∞" Infinity>> <</cycle>><</nobr>>
Shows the issue
Expected behavior. There shouldn't be a <p> tag, since Config.cleanupWikifierOutput = true isn't supposed to apply to sub-wikis
Screenshots. Generated HTML on page load
<p><a id="cycle--blah" class="macro-cycle" role="button" tabindex="0">Towel</a></p>
HTML after first click
<a id="cycle--blah" class="macro-cycle" role="button" tabindex="0"><p>π</p></a>
Project details.
Duplicate #154.
Describe the bug. When
Config.cleanupWikifierOutput = true
, the contents of a<<cycle>>
macro are wrapped in a<p>
tag after the first click.To Reproduce: The following code, in a file with
Config.cleanupWikifierOutput = true
Shows the issue
Expected behavior. There shouldn't be a
<p>
tag, sinceConfig.cleanupWikifierOutput = true
isn't supposed to apply to sub-wikisScreenshots. Generated HTML on page load
HTML after first click
Project details.