Closed
Bug 784383
Opened 13 years ago
Closed 13 years ago
JSON parser fails to understand \u00f5
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
developer.mozilla.org Graveyard
Editing
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 783762
People
(Reporter: jwkbugzilla, Unassigned)
Details
Steps to reproduce:
1. Edit any page on MDN.
2. Add the text {{ foo({"prop": "bar\u00f5"}) }} to the page.
3. Click "preview changes" button.
Expected results:
An error message complaining that the template foo doesn't exist (this is what you get without \u00f5).
Actual results:
An error message complaining that "f" was found where only [0-9] was expected.
\u escapes are hexadecimal so it is probably a good idea to change that regexp to [0-9a-fA-F].
Comment 1•13 years ago
|
||
This looks like the same problem as bug 783762. Wladimir, did you see a DocumentParsingError when you previewed the page?
| Reporter | ||
Comment 2•13 years ago
|
||
Yes, it is the same issue.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•13 years ago
|
Version: Kuma → unspecified
| Assignee | ||
Updated•13 years ago
|
Component: Docs Platform → Editing
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•