WebHelp outputs different HTML for warnings and cautions
Posted: Mon Mar 12, 2018 11:31 pm
Oxygen Editor 19.1, WebHelp Classic output.
Within the same task topic, the generated HTML for cautions and warnings is different:
[Codebox=]
<div class="note warning">
<span class="warningtitle">Warning:</span>
Warning Text
</div>
[/Codebox]
[Codebox=]
<div class="cautiontitle">CAUTION:</div>
<div class="note caution">
Caution Text
</div>
[/Codebox]
Note how the Warning has a span within a div...this puts both the "Warning" word and the actual text of the warning on the same line, which is correct. But the Caution has 2 separate divs. This puts the "Caution" word on one line, and the actual text of the caution on a new line. I don't believe this is correct.
Can anyone reproduce and suggest a fix?
Thanks.
Within the same task topic, the generated HTML for cautions and warnings is different:
[Codebox=]
<div class="note warning">
<span class="warningtitle">Warning:</span>
Warning Text
</div>
[/Codebox]
[Codebox=]
<div class="cautiontitle">CAUTION:</div>
<div class="note caution">
Caution Text
</div>
[/Codebox]
Note how the Warning has a span within a div...this puts both the "Warning" word and the actual text of the warning on the same line, which is correct. But the Caution has 2 separate divs. This puts the "Caution" word on one line, and the actual text of the caution on a new line. I don't believe this is correct.
Can anyone reproduce and suggest a fix?
Thanks.