ID:117103
 
Resolved
BYOND Version:489
Operating System:Windows 7 Pro 64-bit
Web Browser:Firefox 5.0
Applies to:Website
Status: Resolved (web)

This issue has been resolved.
Descriptive Problem Summary:
Creating an ordered list using the <ol> html tag seems to start at 2, instead of one.
(See below:)

Numbered Steps to Reproduce Problem:
  1. Use the <ol> tag in html.
  2. Use the <li></li> combination for each entry.
  3. Notice the list starts at 2.


Code Snippet (if applicable) to Reproduce Problem:
This is the html used above.
<ol>
<li>Use the &lt;ol&gt; tag in html.</li>
<li>Use the &lt;li&gt;&lt;/li&gt; combination for each entry.</li>
<li>Notice the list starts at 2.</li>
</ol>


Expected Results:
Ordered lists start at 1. At least, in my country they do.

Actual Results:
The ordered list starts at 2!

Does the problem occur:
Every time? Or how often? I'm not sure about other parts of the site.
In other games? N/A
In other user accounts? Probably.
On other computers? No idea.

When does the problem NOT occur?
The problem also occurs on Internet Explorer 9. I haven't tested other browsers, though.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
N/A

Workarounds:
I guess typing out the numbers manually would be a fine workaround.
It's definitely not browser-related. It appears the code that's cleaning up the lists is putting an <li> element around a <br> tag. As a workaround, lose the line break after <ol>. I'll find out what it'll take to fix this, since it's probably a setting we can change.