projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
224dddb
)
Roo/Markdown.js
author
Alan Knowles
<alan@roojs.com>
Tue, 25 Oct 2016 06:46:36 +0000
(14:46 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 25 Oct 2016 06:46:36 +0000
(14:46 +0800)
Roo/Markdown.js
patch
|
blob
|
history
diff --git
a/Roo/Markdown.js
b/Roo/Markdown.js
index
53ed968
..
abf748e
100644
(file)
--- a/
Roo/Markdown.js
+++ b/
Roo/Markdown.js
@@
-1137,7
+1137,7
@@
Roo.Markdown.toHtml = function(text) {
// explicitly match decimal, hex, and named HTML entities
return html.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g, function(_, n) {
n = n.toLowerCase();
- if (n === 'colon')
return ':';
+ if (n === 'colon')
{ return ':'; }
if (n.charAt(0) === '#') {
return n.charAt(1) === 'x'
? String.fromCharCode(parseInt(n.substring(2), 16))