No need to use to preserve whitespaces anymore.
This commit is contained in:
parent
f589fb1272
commit
336e69c4fe
@ -7,7 +7,7 @@ Fourchan =
|
|||||||
$.globalEval """
|
$.globalEval """
|
||||||
window.addEventListener('prettyprint', function(e) {
|
window.addEventListener('prettyprint', function(e) {
|
||||||
var pre = e.detail;
|
var pre = e.detail;
|
||||||
pre.innerHTML = prettyPrintOne(pre.innerHTML.replace(/\\s/g, ' '));
|
pre.innerHTML = prettyPrintOne(pre.innerHTML);
|
||||||
}, false);
|
}, false);
|
||||||
"""
|
"""
|
||||||
Post::callbacks.push
|
Post::callbacks.push
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user