PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Escaping HTML Characters in Post Template

  1. Hi Guys

    I've created a snazzy little post template in my Gravity form. There's a slight problem though with snippets of the html code, where the "<" and ">" get converted into ascii in some cases - usually where there's a link:

    <div style="

    and: <a href="

    How do I escape these characters so they appear as originally intended when the template is written to a post?

    Thank you!

    Posted 14 years ago on Monday September 13, 2010 | Permalink
  2. Can you copy-n-paste an example of your Post Template that isn't working properly and email it to me at carl@rocketgenius.com? Thanks!

    Posted 14 years ago on Monday September 13, 2010 | Permalink
  3. Nick Hempsey
    Member

    I'm having the same issue actually. It's actually adding the escape characters to special characters. Making it kind of frustrating when trying to use this for user generated content.

    This is what I get:

    "I can\'t help it - every time I drive by I almost veer off the road because I am staring at the huge tent!"

    Posted 14 years ago on Friday September 17, 2010 | Permalink