ID:200182
 
Resolved
BYOND Version:N/A (Website Bug)
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 16.0.912.77
Applies to:Website
Status: Resolved (web)

This issue has been resolved.
Descriptive Problem Summary:
It seems when I post images, the forum's parser puts double quotes where I have single quotes.

For example:



I typed there:
<img src = "http://puu.sh/eCCF">


But in the source, it shows double quotes around the img link.
<img src = ""http://puu.sh/eCCF"">


It also produces an incorrect link to the image.
Hmm.. seems to be working here, but it's not working in this thread:
http://www.byond.com/forum/?post=195510
While we're at it, there's obviously an issue with images overhanging the post area =P
In response to Flame Sage (#1)
Flame Sage wrote:
Hmm.. seems to be working here, but it's not working in this thread:
http://www.byond.com/forum/?post=195510

To be clear, you're using double quotes, and it's placing an extra pair of double quotes around the value, correct?

If I had to guess, it looks like an HTML sanitizer isn't realizing your double quotes are there, so it's adding them, and encoding the existing quotes to &quot;

So this:
<img src = "http://puu.sh/eCAC">

Becomes this:
<img src="&quot;http://puu.sh/eCAC&quot;"/>


It seems to sanitize correctly if using single quotes or no quotes.
Correct. I am using double quotes in my IMG tags.
I found the issue; it's a holdover from when our comment filter didn't support images. Replies on a forum are still considered comments and have more limited options, but the &quot; thing is a bug.