mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-06 06:35:46 +01:00
Grr.
This commit is contained in:
@@ -877,6 +877,7 @@ var Buffer = Module("Buffer", {
|
|||||||
showElementInfo: function showElementInfo(elem) {
|
showElementInfo: function showElementInfo(elem) {
|
||||||
let { dactyl } = this.modules;
|
let { dactyl } = this.modules;
|
||||||
|
|
||||||
|
XML.ignoreWhitespace = XML.prettyPrinting = false;
|
||||||
dactyl.echo(<><!--L-->Element:<br/>{util.objectToString(elem, true)}</>);
|
dactyl.echo(<><!--L-->Element:<br/>{util.objectToString(elem, true)}</>);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -1456,7 +1456,7 @@ var DOM = Class("DOM", {
|
|||||||
* @returns {Node}
|
* @returns {Node}
|
||||||
*/
|
*/
|
||||||
fromXML: function fromXML(node, doc, nodes) {
|
fromXML: function fromXML(node, doc, nodes) {
|
||||||
XML.prettyPrinting = false;
|
XML.ignoreWhitespace = XML.prettyPrinting = false;
|
||||||
if (typeof node === "string") // Sandboxes can't currently pass us XML objects.
|
if (typeof node === "string") // Sandboxes can't currently pass us XML objects.
|
||||||
node = XML(node);
|
node = XML(node);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user