Syntax error on or inside an ol tag

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
emercer
Jr. Propeller Head
Posts: 6
Joined: Wed Aug 31, 2022 11:32 am

Syntax error on or inside an ol tag

Post by emercer »

Hi,

I am working on a document and am experiencing an error I can't seem to fix.

I have an open and closed H3 tag followed by an Ol tag. When I try to save the file I get the syntax error.
The document has:
<h1>Title</h1>
<h3>To do something</h3>
<ol>
<li>
<p>More text</p>
</ol>

This has worked in the past and I am at a total loss as how to fix this.

Any help would be appreciated.

Thank you.

Elizabeth
doloremipsum
Sr. Propeller Head
Posts: 290
Joined: Mon Aug 26, 2019 2:11 pm

Re: Syntax error on or inside an ol tag

Post by doloremipsum »

You're missing a closing </li> :)

<h1>Title</h1>
<h3>To do something</h3>
<ol>
<li>
<p>More text</p>
</li>
</ol>

For future reference, the syntax editor should tell you what line the error is on. But really the main way to avoid this is to work in the Flare UI rather than the HTML editor - no chance of oversights in the code!
in hoc foro dolorem ipsum amamus, consectimur, adipisci volumus.
emercer
Jr. Propeller Head
Posts: 6
Joined: Wed Aug 31, 2022 11:32 am

Re: Syntax error on or inside an ol tag

Post by emercer »

Thank you!!!
I appreciate the help. :-)
Post Reply