fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
catalogue: license filter
[redakcja.git]
/
src
/
redakcja
/
static
/
js
/
wiki
/
xslt.js
diff --git
a/src/redakcja/static/js/wiki/xslt.js
b/src/redakcja/static/js/wiki/xslt.js
index
b1adc8e
..
1980446
100644
(file)
--- a/
src/redakcja/static/js/wiki/xslt.js
+++ b/
src/redakcja/static/js/wiki/xslt.js
@@
-17,7
+17,7
@@
function withStylesheets(code_block, onError)
if (!xml2htmlStylesheet) {
$.blockUI({message: 'Ładowanie arkuszy stylów...'});
$.ajax({
if (!xml2htmlStylesheet) {
$.blockUI({message: 'Ładowanie arkuszy stylów...'});
$.ajax({
- url:
STATIC_URL + 'xsl/wl2html_client.xsl?210129
',
+ url:
'/wlxml/wl2html.xsl
',
dataType: 'xml',
timeout: 10000,
success: function(data) {
dataType: 'xml',
timeout: 10000,
success: function(data) {
@@
-352,7
+352,7
@@
HTMLSerializer.prototype._serializeElement = function(node) {
};
self.result += ' ' + self._join(nsData.prefix, node.getAttribute('x-attr-name-'+this));
};
self.result += ' ' + self._join(nsData.prefix, node.getAttribute('x-attr-name-'+this));
- self.result += '="'
+node.getAttribute('x-attr-value-'+this) +
'"';
+ self.result += '="'
+ node.getAttribute('x-attr-value-'+this).replace(/&/g, '&').replace(/"/g, '"') +
'"';
});
/* print new namespace declarations */
});
/* print new namespace declarations */