ID:113759
 
Resolved
BYOND Version:N/A (Website Bug)
Operating System:Windows 7 Pro
Web Browser:Firefox 4.0.1
Applies to:Website
Status: Resolved (web)

This issue has been resolved.
Descriptive Problem Summary:
When using the DM tags on the website, if the first line of code starts on the same line as the opening DM tag, the tabs will be converted to spaces incorrectly.

First line of code on same line as DM tag:
            // Line 1, 3 tabs
// Line 2, 3 tabs

First line of code on line after DM tag:
            // Line 3, 3 tabs
// Line 4, 3 tabs


As you can see, Line 1 is tabbed in much further than the others, despite them all using 3 tabs.


Expected Results:
The resulting number of spaces is the same

Actual Results:
Line 1's tabs are converted to 21 spaces, and the other lines get 12 spaces. I'm not sure where the 9 space surplus is coming from.

Does the problem occur:
Every time? Or how often? Every time
On other computers? Unknown, but the space difference is present in the HTML source itself, so I don't think it's my browser.

When does the problem NOT occur?
When there is a line break between the opening DM tag and the first line of code

Did the problem NOT occur in any earlier versions?
I've never seen it before today, and I often compress my DM tags this way to limit the surrounding whitespace.

Workarounds:
Put a newline between them.
Looks like this was taken care of in the site update; I don't see the issue anymore, and it was a known flaw in the old DM converter.
Lummox JR resolved issue