projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ux/Showdown.js
[roojs1]
/
ux
/
Showdown.js
diff --git
a/ux/Showdown.js
b/ux/Showdown.js
index
0963488
..
75c7e36
100644
(file)
--- a/
ux/Showdown.js
+++ b/
ux/Showdown.js
@@
-867,6
+867,7
@@
Roo.ux.Showdown.converter = function() {
*/
// attacklab: sentinel workarounds for lack of \A and \Z, safari\khtml bug
+ text = text.replace(/~0/,"");
text += "~0";
text = text.replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=~0))/g,