Closed Bug 616200 Opened 15 years ago Closed 15 years ago

Deki displays error for <pre function="syntax.JavaScript">

Categories

(developer.mozilla.org Graveyard :: Editing, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 599870

People

(Reporter: jswisher, Unassigned)

References

Details

Example page showing this error (under Date Type Conversion): https://developer.mozilla.org/en/JavaScript/Guide/Values%2c_Variables%2c_and_Literals The error displayed is: /content/body/div[1]/div/pre[1]/@function, reference to undefined name 'syntax': line 1, column 1 The HTML source that triggers this error is: <pre function="syntax.JavaScript">
And here: https://developer.mozilla.org/en/using_xmlhttprequest This renders these pages pretty near useless. Has this really gone unfixed for a month? Can we change the pages to work around the problem?
I had to edit a few pages to remove the |function="syntax.JavaScript"| leaving only <pre> in order to get pages that were anywhere near usable. As a quick fix I suggest doing a sed to remove |function="syntax.\S+"| note affects syntax.cpp and probably syntax.anything as well.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Version: Deki → unspecified
Component: Docs Platform → Editing
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.