Closed Bug 528223 Opened 15 years ago Closed 15 years ago

[Gallery] Single quotes become double quotes in strings, breaking them

Categories

(Mozilla Labs :: Jetpack Prototype, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 528319

People

(Reporter: SavageWolf8, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5 (.NET CLR 3.5.30729) Build Identifier: html: "<img src=https://jetpack.mozillalabs.com/images/jetpack.png name=jetpack width=20>" or html: "<img src='https://jetpack.mozillalabs.com/images/jetpack.png' name='jetpack' width='20'>" Becomes: html: "<img src="https://jetpack.mozillalabs.com/images/jetpack.png" name="jetpack" width="20">", Which is illegal in Javascript. Reproducible: Always Steps to Reproduce: Enter the above text or similar and send it as a jetpack, then view source. Actual Results: The autoformatter (if it exists) is used, but doesn't check if the quotes are in a string. Expected Results: Left it alone.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.