Commit de251aa8 authored by Henri MEDOT's avatar Henri MEDOT
Browse files

Fixed "Error alert when linke to node with parenthesis is title"

parent 1e4925ac
; $Id$
name = CKEditor Link
description = Easily create links to Drupal internal paths through CKEditor.
package = User interface
core = 6.x
\ No newline at end of file
......@@ -32,7 +32,7 @@
var extractPath = function(value) {
value = CKEDITOR.tools.trim(value);
var match;
match = /\((.*?)\)$/i.exec(value);
match = /\(([^\(]*?)\)$/i.exec(value);
if (match && match[1]) {
value = match[1];
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment