You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.
What steps will reproduce the problem?
1. Set document type etc to XHTML
2. Include a block with prettyprint and lang-xml
3. Load in Firefox
See attached file (expects prettify.js to be relative at src/
prettify.js). Note the document is valid according to the W3C tool.
What is the expected output? What do you see instead?
Expect to see syntax-highlighted block. Instead, with the Error Console
open, see the Exception:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMNSHTMLElement.innerHTML]"
nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame ::
file:///foo/prettify-bug/src/prettify.js :: o :: line 46" data: no]
Versions:
prettify-small-3-Dec-2009
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.1.7)
Gecko/20091221 Firefox/3.5.7
Doesn't seem to depend on the actual content of the prettyprinted block,
but works fine with other language types, and works fine without the
DOCTYPE.
Original issue reported on code.google.com by [email protected] on 18 Jan 2010 at 1:05
Original issue reported on code.google.com by
[email protected]
on 18 Jan 2010 at 1:05Attachments:
The text was updated successfully, but these errors were encountered: