X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Ftiny_mce%2Fplugins%2Fbbcode%2Feditor_plugin_src.js;h=4e7eb3377ff1fa4e01aae2f8f4b5a60bb4d9da0b;hb=b05f4eef4014db3885787ef15107cba93c932ac9;hp=4ab226376aabf0823538581819bb93889a4b2e6b;hpb=56d69e5d8434e98835a2582c59b771ba69475431;p=citadel.git diff --git a/webcit/tiny_mce/plugins/bbcode/editor_plugin_src.js b/webcit/tiny_mce/plugins/bbcode/editor_plugin_src.js index 4ab226376..4e7eb3377 100644 --- a/webcit/tiny_mce/plugins/bbcode/editor_plugin_src.js +++ b/webcit/tiny_mce/plugins/bbcode/editor_plugin_src.js @@ -1,5 +1,11 @@ -/* - * Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { @@ -73,7 +79,7 @@ rep(/
/gi,"\n"); rep(/

/gi,""); rep(/<\/p>/gi,"\n"); - rep(/ /gi," "); + rep(/ |\u00a0/gi," "); rep(/"/gi,"\""); rep(/</gi,"<"); rep(/>/gi,">"); @@ -111,4 +117,4 @@ // Register plugin tinymce.PluginManager.add('bbcode', tinymce.plugins.BBCodePlugin); -})(); +})(); \ No newline at end of file