projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f105a7a
)
Roo/Markdown.js
author
Alan Knowles
<alan@roojs.com>
Tue, 25 Oct 2016 06:46:46 +0000
(14:46 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 25 Oct 2016 06:46:46 +0000
(14:46 +0800)
Roo/Markdown.js
patch
|
blob
|
history
diff --git
a/Roo/Markdown.js
b/Roo/Markdown.js
index
abf748e
..
a9bc898
100644
(file)
--- a/
Roo/Markdown.js
+++ b/
Roo/Markdown.js
@@
-1151,7
+1151,7
@@
Roo.Markdown.toHtml = function(text) {
regex = regex.source;
opt = opt || '';
return function self(name, val) {
- if (!name)
return new RegExp(regex, opt);
+ if (!name)
{ return new RegExp(regex, opt); }
val = val.source || val;
val = val.replace(/(^|[^\[])\^/g, '$1');
regex = regex.replace(name, val);