projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a0ee76
)
ux/Showdown.js
author
Alan Knowles
<alan@roojs.com>
Tue, 18 Oct 2016 08:59:22 +0000
(16:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 18 Oct 2016 08:59:22 +0000
(16:59 +0800)
ux/Showdown.js
patch
|
blob
|
history
diff --git
a/ux/Showdown.js
b/ux/Showdown.js
index
75c7e36
..
8de76db
100644
(file)
--- a/
ux/Showdown.js
+++ b/
ux/Showdown.js
@@
-130,6
+130,8
@@
Roo.ux.Showdown.converter = function() {
// contorted like /[ \t]*\n+/ .
text = text.replace(/^[ \t]+$/mg,"");
+ text = _DoCodeBlcoks(text);
+
// Turn block-level HTML blocks into hash entries
text = _HashHTMLBlocks(text);