padolsey-archive/prettyprint.js

very nice, but when running from XUL need namespace

Opened this issue · 0 comments

this thing is super. it should be updated to use gradient rather than data urls for the gradients.

however for firefox, i dump objects to a new tab. i used this, but it was creating the table and the tr would not be a new row. it would be a huge table in one line. i finally figured out the problem.

it was creating a XUL element.

so createElement needs to updated to:
createElementNS('http://www.w3.org/1999/xhtml', type);