Mahesh, odds are the problem is due to the source of the article. Was it copied from Word, or another text editor? If so, you may have pasted an extended character which eZ publish is translating into the '. I would recommend that you replace the apostrophe with a single quote (') which is safe to use.
Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
Hi Alex,
Sorry about the use of "apostrophes". Actually, I am usng a single quote (') in the article. IE displays this as ' In fact, in mozilla the display is coming correctly.
While I use (`) there is no problem. It displays this correctly. I had pasted the article from Notepad. I had viewed the page source. It's like this "North America's" in both Mozilla and IE. Mozilla displays it correctly as "North Ameica's", but it's not coming in IE. Is this a problem with IE? Any ideas?
Hi, looks like ez renders the apostrophe to ' , which looks like the correct HTML entity for that character.
As Mozilla display it correctly, it seems to be "good HTML". So, yes, it's a "problem" with IE.
But as 90% of the world is using IE, that won't help you. M$ is setting standards :( I suggest, that you post a bug report (type "enhancement") and request, that ez renders the apostroph to something, that all current browsers can display. (BTW: There are some more HTML entities, which one browser, but not all, can display, like the TM-Sign).
Mahesh, I should have noticed the problem sooner. When you use '{$node.data_map.caption.data_text}', you are displaying the raw XML. When you use '{$node.data_map.caption.content.output.output_text}' you are displaying the rendered XML via the template, so it displays the proper characters for HTML. Glad you found the solution.
Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]