ID:1676188
 
Resolved
The <br> tag didn't parse properly for output.
BYOND Version:507
Operating System:Windows 7 Home Premium 64-bit
Web Browser:Firefox 31.0
Applies to:Webclient
Status: Resolved (507.1256)

This issue has been resolved.
Descriptive Problem Summary: When using the webclient, HTML BR line breaks don't create new lines when used in an output.

Numbered Steps to Reproduce Problem:
1) Create a project with the code provided below.
2) Use the test() verb.
3) Observe that while each line would be expected to appear on it's own line, line 3, 4, and 5 appear on the same line.
Code Snippet (if applicable) to Reproduce Problem:
mob
verb
test()
world << "Line 1" //Works
world << "Line 2" //Works
world << "Line 3 <br>Line 4 <BR>Line 5" //Doesn't work
world << "Line 6 \nLine 7" //Works
world << "Line 8" //Works


Expected Results: For BR tags to create a new line.

Actual Results: BR tags do not create a new line.

Does the problem occur:
Every time? Or how often? Every time.
In other games? Yes.
In other user accounts? Untested.
On other computers? Untested.

When does the problem NOT occur? When using /n.

Workarounds: Use /n.

Does < br/> work? I've not been able to test that myself, but in some browers using < br/> has worked better than < br> in some of my HTML projects.
No. Also, confirm the same occurs in IE and Chrome.
Additionally, using <br/> displays > in the text window - as if it was escaped by \>.

Note: I've recently seen this the the O&M window of seeker and DD when using world.log <<, so this isn't isolated to the web parsing.
Lummox JR resolved issue with message:
The <br> tag didn't parse properly for output.