Fixes #955, enables surrounding text with complex symbols
[redakcja.git] / redakcja / static / js / wiki / xslt.js
index f7dbbf6..9926673 100644 (file)
@@ -17,7 +17,7 @@ function withStylesheets(code_block, onError)
     if (!xml2htmlStylesheet) {
        $.blockUI({message: 'Ładowanie arkuszy stylów...'});
        $.ajax({
-               url: STATIC_URL + 'xsl/wl2html_client.xsl',
+               url: STATIC_URL + 'xsl/wl2html_client.xsl?20101123',
                dataType: 'xml',
                timeout: 10000,
                success: function(data) {
@@ -256,6 +256,7 @@ HTMLSerializer.prototype.serialize = function(rootElement, stripOuter)
                                break;
                };
        };
+    self.result += text_buffer;
 
        return this.result;
 }