X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Ftiny_mce%2Fplugins%2Fbbcode%2Feditor_plugin_src.js;h=4e7eb3377ff1fa4e01aae2f8f4b5a60bb4d9da0b;hb=eb5fb3f6c3b3e1d4d3d7ebbb92b8c60d70d13254;hp=4ab226376aabf0823538581819bb93889a4b2e6b;hpb=59d5e1f12391958b6ee2a8bc61b898719bd4fd01;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