projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b238ff0
)
ux/Showdown.js
author
Alan Knowles
<alan@akbkhome.com>
Sun, 24 Jul 2011 13:48:54 +0000
(21:48 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 24 Jul 2011 13:48:54 +0000
(21:48 +0800)
ux/Showdown.js
patch
|
blob
|
history
diff --git
a/ux/Showdown.js
b/ux/Showdown.js
index
f37c551
..
cfdb855
100644
(file)
--- a/
ux/Showdown.js
+++ b/
ux/Showdown.js
@@
-181,7
+181,7
@@
Roo.ux.Showdown.converter = function() {
/gm,
function(){...});
*/
-
var
text = text.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*<?(\S+?)>?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|\Z)/gm,
+ text = text.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*<?(\S+?)>?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|\Z)/gm,
function (wholeMatch,m1,m2,m3,m4) {
m1 = m1.toLowerCase();
g_urls[m1] = _EncodeAmpsAndAngles(m2); // Link IDs are case-insensitive