fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix
[redakcja.git]
/
redakcja
/
static
/
js
/
wiki
/
xslt.js
diff --git
a/redakcja/static/js/wiki/xslt.js
b/redakcja/static/js/wiki/xslt.js
index
9efeba3
..
54e7f31
100644
(file)
--- a/
redakcja/static/js/wiki/xslt.js
+++ b/
redakcja/static/js/wiki/xslt.js
@@
-253,7
+253,7
@@
HTMLSerializer.prototype.serialize = function(rootElement, stripOuter)
break;
case TEXT_NODE:
self.result += text_buffer;
break;
case TEXT_NODE:
self.result += text_buffer;
- text_buffer = token.node.nodeValue.replace(
'&', '&').replace('<'
, '<');
+ text_buffer = token.node.nodeValue.replace(
/&/g, '&').replace(/</g
, '<');
break;
};
};
break;
};
};