From ec526e9e41d2e5f5230cf8f14574a384675bc51a Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 16 Apr 2008 01:14:37 +0000 Subject: [PATCH] Made link pattern case insensitive to match uppercase tags in IE. This fixes the following bug: When you set a note as a startup note and add its link to the note tree in IE6, the link isn't added with a visible expander even if it has child links. --- static/js/Wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 5fac32d..7138943 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -2613,7 +2613,7 @@ Note_tree.prototype.link_clicked = function ( event ) { event.stop(); } -LINK_PATTERN = /]+\s)?href="[^"]+"[^>]*>/; +LINK_PATTERN = /]+\s)?href="[^"]+"[^>]*>/i; Note_tree.prototype.add_root_link = function ( editor ) { // for now, only add startup notes to the note tree