Re: Background Image URL enclosed in double quotes

  •  01-25-2011, 8:39 PM

    Re: Background Image URL enclosed in double quotes

    Hi sanjay.joshi,
     
    I think you get he code like below
     
     
    <td style="background-image: url(&quot;/Editor/uploads/12.jpg&quot;);">&nbsp;</td>
     
    If so, Please try the new example below
     
    1. <%@ Page Language="C#" %>  
    2.   
    3. <%@ Register Namespace="CuteEditor" Assembly="CuteEditor" TagPrefix="CE" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    5. <html xmlns="http://www.w3.org/1999/xhtml">  
    6. <head id="Head1" runat="server">  
    7.     <title>Untitled Page</title>  
    8. </head>  
    9. <body>  
    10.     <form id="form1" runat="server">  
    11.         <CE:Editor ID="editor1" runat="server" />  
    12.     </form>  
    13. </body>  
    14. </html>  
    15.   
    16. <script>    
    17.     function CuteEditor_FilterHTML(editor,code)    
    18.      {    
    19.       return code.split("(&quot;").join("('").split("&quot;)").join("')");    
    20.     }    
    21.     function CuteEditor_FilterCode(editor,code)    
    22.     {    
    23.     return code.split("(&quot;").join("('").split("&quot;)").join("')");    
    24.     }    
    25. </script> 
     
    Regards,
     
    Ken
View Complete Thread