[pLog-svn] r944 - plog/trunk/js/htmlarea

Oscar Renalias phunkphorce at gmail.com
Fri Feb 4 12:18:45 GMT 2005


can you update this page:
http://wiki.plogworld.net/index.php/Core_Components_Hacks so that we
remember that something was changed here in the future when we decide
to update to a newer version of htmlarea?

Thanks :)


On Fri,  4 Feb 2005 10:42:17 +0000 (GMT), mark at devel.plogworld.net
<mark at devel.plogworld.net> wrote:
> Author: mark
> Date: 2005-02-04 10:42:17 +0000 (Fri, 04 Feb 2005)
> New Revision: 944
> 
> Modified:
>    plog/trunk/js/htmlarea/htmlarea.js
> Log:
> Fixed the bug http://bugs.plogworld.net/view.php?id=149&nbn=37#bugnotes
> 
> Modified: plog/trunk/js/htmlarea/htmlarea.js
> ===================================================================
> --- plog/trunk/js/htmlarea/htmlarea.js  2005-02-04 10:40:52 UTC (rev 943)
> +++ plog/trunk/js/htmlarea/htmlarea.js  2005-02-04 10:42:17 UTC (rev 944)
> @@ -1951,6 +1951,8 @@
>         str = str.replace(/&/ig, "&amp;");
>         str = str.replace(/</ig, "&lt;");
>         str = str.replace(/>/ig, "&gt;");
> +    // Fix the multi-spaces converted to 160 error. we need to convert them back to space again.
> +       str = str.replace(/\xA0/g, " ");
>         str = str.replace(/\x22/ig, "&quot;");
>         // \x22 means '"' -- we use hex reprezentation so that we don't disturb
>         // JS compressors (well, at least mine fails.. ;)
> 
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list