Try our conversational search powered by Generative AI!

HTML tags in language XML file

Vote:
 

Hi,

The traslate method returns blank when there is

XML file below



  
    
      
        
          text
          ]]>
        
      
      
        Search
      
      
    
  

@Html.Translate("/property/home/logotext")

#119287
Mar 26, 2015 11:01
Vote:
 

Hi, Pankaj,

Yes, this seems to be a bug, see https://andersnordby.wordpress.com/2014/08/29/episerver-cdata-bug-in-language-files/.

If you can't simply delete CDATA, I'd suggest you contacted EPiServer support or file a bug report. You might as well create your own Translate extension, but I would suggest the former path instead.

BR,

Marija

#119306
Mar 26, 2015 15:43
Vote:
 
#152124
Aug 17, 2016 13:19
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.