Upgrade TinyMCE to v3.4.5
[citadel.git] / webcit / tiny_mce / plugins / bbcode / editor_plugin_src.js
index 1d7493e26d710b2a19602b1fb1108a547cb85911..4e7eb3377ff1fa4e01aae2f8f4b5a60bb4d9da0b 100644 (file)
@@ -1,8 +1,11 @@
 /**\r
- * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $\r
+ * editor_plugin_src.js\r
  *\r
- * @author Moxiecode\r
- * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.\r
+ * Copyright 2009, Moxiecode Systems AB\r
+ * Released under LGPL License.\r
+ *\r
+ * License: http://tinymce.moxiecode.com/license\r
+ * Contributing: http://tinymce.moxiecode.com/contributing\r
  */\r
 \r
 (function() {\r
@@ -76,7 +79,7 @@
                        rep(/<br>/gi,"\n");\r
                        rep(/<p>/gi,"");\r
                        rep(/<\/p>/gi,"\n");\r
-                       rep(/&nbsp;/gi," ");\r
+                       rep(/&nbsp;|\u00a0/gi," ");\r
                        rep(/&quot;/gi,"\"");\r
                        rep(/&lt;/gi,"<");\r
                        rep(/&gt;/gi,">");\r