html - Rendering tweets on the web page -


i have web page has part render filtered entries twitter. part of page created using xslt (i using umbraco cms). problem when there special characters such ' in twitter entry, although used "disable-output-escaping ="yes"" in ie rendered & apos ;. in other browsers fine. should handle issue

regards,

the problem when there special characters such ' in twitter entry, although used "disable-output-escaping ="yes"" in ie rendered & apos ;. in other browsers fine. should handle issue

without showing specific code receive general answers such question.

here example of 2 ways produce apostrophe without needing @ doe:

this transformation:

<xsl:stylesheet version="1.0"  xmlns:xsl="http://www.w3.org/1999/xsl/transform">  <xsl:output omit-xml-declaration="yes" indent="yes"/>   <xsl:template match="/">   <p>it's monday today</p>   <p>it&apos;s morning</p>  </xsl:template> </xsl:stylesheet> 

when applied on xml document (not used), produces output:

<p>it's monday today</p> <p>it's morning</p> 

and displayed ie this:

 it's monday today   it's morning 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -