CuteSoft Editor fails to encode ampersands when viewing XHTML property output - FIX

  •  03-24-2016, 10:48 AM

    CuteSoft Editor fails to encode ampersands when viewing XHTML property output - FIX

    Hello,

     

    We've recently been having problems with the CuteSoft editor when  viewing the Text property ampersands are correctly encoded as &  however when viewing the XHTML property the ampersands are simply shown  as "&".

    We need to use the XHTML property as this resolves issues with the  layout of the code, ensuring that the output is XHTML compliant for example ensuring tags are closed correctly in the right order.

    However with the unencoded ampersands the output is NOT XHTML compliant.

    We've investigated this further and found that the method being called  internally is ConvertToXml() which has the following line of code

    str1 = str1.Replace("&", "&");

    I've got a workaround here but is this a bug...? 

    http://david-homer.blogspot.co.uk/2016/03/cutesoft-editor-fails-to-encode.html



    Thanks,

     

    Dave 

View Complete Thread