summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Danielsson2009-10-23 03:00:56 (GMT)
committer Henrik Danielsson2009-10-23 03:00:56 (GMT)
commit15ac3756132e207e3eb63a8fc05aaa76b0f0636e (patch)
tree6df378e4e988d7f703711a5956e5cc49d44d5b83
parent1579759c7e2af1ea8a71d3d7348614a6bf281398 (diff)
#380586 by SimonEast: Updated YUI editor: Version detection not working.
-rw-r--r--CHANGELOG.txt1
-rw-r--r--editors/yui.inc2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index f937768..306ba49 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -6,6 +6,7 @@ Wysiwyg x.x-x.x, xxxx-xx-xx
Wysiwyg 6.x-2.x, xxxx-xx-xx
---------------------------
+#380586 by SimonEast: Updated YUI editor: Version detection not working.
#610132 by TwoD: Updated CKEditor 3.0.1, stylesheets and version check.
#620858 by quicksketch: Fixed focus event not firing for CKeditor.
#462146 by TwoD, et al: Added support for CKeditor.
diff --git a/editors/yui.inc b/editors/yui.inc
index 6f03e6f..b2cb56e 100644
--- a/editors/yui.inc
+++ b/editors/yui.inc
@@ -69,7 +69,7 @@ function wysiwyg_yui_version($editor) {
$library = fopen($library, 'r');
$max_lines = 10;
while ($max_lines && $line = fgets($library, 60)) {
- if (preg_match('@version:\s([0-9\.]+)$@', $line, $version)) {
+ if (preg_match('@version:\s([0-9\.]+)@', $line, $version)) {
fclose($library);
return $version[1];
}