IE8 issue with '

jason.verschage's Avatar

jason.verschage

16 Jun, 2015 03:56 PM

We're running into a specific issue regarding the conversion of apostrophes into '. We have to support Internet Explorer 8, which only follows the HTML 4 guidelines (and loosely at that). I've tried using the EscapeTool's unicode and html methods to avoid it being converted to the XML version, but no luck. Using java keeps the single quote in the format, but converts it by the time the page publishes. (We use Velocity pretty exclusively for all our formats.) When I attempt to save it in the text field as ' in an effort to get around the problem, upon saving Cascade converts the character into a single quote and then we are stuck with ' problem again.

Is there any way we can override the ' to make it use the unicode or html character so that all browers we are required to support will view the page correctly?

  1. 1 Posted by Ryan Griffith on 17 Jun, 2015 12:49 PM

    Ryan Griffith's Avatar

    Hi Jason,

    To clarify, your issue is that when using a single quote ', it is being converted to '? I would expect to see the numeric entity as opposed to named entity since we generally encode content using numeric entities for XML validation.

    I have a couple of questions to see if we can narrow things down a bit:

    • Is this occurring with a WYSIWYG field, or a text field?
    • What browser(s) are you experiencing this behavior in?
    • What version of Cascade are you running?

    Please let me know if you have any questions.

    Thanks!

  2. 2 Posted by jason.verschage on 17 Jun, 2015 01:45 PM

    jason.verschage's Avatar

    Apologies, go ahead and close this. The issue ended up being that the format that culled the information automatically applied the xml format, so any later application of EscapeTool, whether html, unicode or java, would still have the XML modifier in it.

  3. 3 Posted by Ryan Griffith on 17 Jun, 2015 02:03 PM

    Ryan Griffith's Avatar

    Thank you for following up, Jason, I am glad to hear you were able to track down the cause of the entity.

    I'm going to go ahead and close this discussion, please feel free to comment or reply to re-open if you have any additional questions.

    Have a great day!

  4. Ryan Griffith closed this discussion on 17 Jun, 2015 02:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac