if (!xml2htmlStylesheet) {
$.blockUI({message: 'Ładowanie arkuszy stylów...'});
$.ajax({
- url: STATIC_URL + 'xsl/wl2html_client.xsl?20110520',
+ url: STATIC_URL + 'xsl/wl2html_client.xsl?20170727',
dataType: 'xml',
timeout: 10000,
success: function(data) {
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;
case COMMENT_NODE:
self.result += text_buffer;