Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
(Bug) Ordered List generates wrong HTML

martin
Registered User
Quote
2023-01-19 10:35:54

Hi Niko,

The ordered list function sometimes generates invalid HTML code, although it seems browsers can cope with it. What happens is that the closing </OL> tag and the last closing </LI> tag are interchanged, i.e. the </LI> appears after the </OL>:

Below is the RC output (publish to local disk) after writing three lines, marking them and then selecting the 'Ordered List' button.

<ol id="ol_79434e84" class="olstyle1">
<li><span class="textstyle7">Eins</span></li>
<li><span class="textstyle7">Zwei</span></li>
<li><span class="textstyle7">Drei</span></ol>
</li>

It doesn't happen all the time though - I have seen it generate valid OL code as well.

Cheers,
Martin


niko
Moderator
Quote
2023-01-19 17:33:31

Thanks, will see if I can reproduce and fix this for the next update!


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact