projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7743433
)
ux/Showdown.js
author
Alan Knowles
<alan@roojs.com>
Tue, 18 Oct 2016 08:57:47 +0000
(16:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 18 Oct 2016 08:57:47 +0000
(16:57 +0800)
ux/Showdown.js
patch
|
blob
|
history
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,