changeset 3046:596d4a8ba580

fix gui editor to insert macros using new <<macro>> syntax (ported from 1.6)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 19 Feb 2008 23:12:08 +0100
parents d44007999460
children 2b9a5f26f7b0
files wiki/htdocs/applets/moinFCKplugins/macro/fckplugin.js
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/htdocs/applets/moinFCKplugins/macro/fckplugin.js	Tue Feb 19 23:09:21 2008 +0100
+++ b/wiki/htdocs/applets/moinFCKplugins/macro/fckplugin.js	Tue Feb 19 23:12:08 2008 +0100
@@ -26,6 +26,5 @@
 // Add a new macro at the actual selection.
 FCKMacros.Add = function(name)
 {
-  var oSpan = FCK.InsertHtml('<span style="background-color:#ffff11">[['
-                             + name + ']]</span>');
+  var oSpan = FCK.InsertHtml('<span style="background-color:#ffff11">&lt;&lt;' + name + '&gt;&gt;</span>');
 }