<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Submitted content truncated (RGFormsModel::prepare_value)</title>
		<link>https://legacy.forums.gravityhelp.com/topic/submitted-content-truncated-rgformsmodelprepare_value</link>
		<description>Gravity Support Forums Topic: Submitted content truncated (RGFormsModel::prepare_value)</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 11:59:21 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/submitted-content-truncated-rgformsmodelprepare_value" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Submitted content truncated (RGFormsModel::prepare_value)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitted-content-truncated-rgformsmodelprepare_value#post-117036</link>
			<pubDate>Tue, 08 Jan 2013 20:34:50 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">117036@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Craig, I am going to close this topic and focus the support on the topic you currently have open for this issue.  Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>CraigTommola on "Submitted content truncated (RGFormsModel::prepare_value)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitted-content-truncated-rgformsmodelprepare_value#post-116938</link>
			<pubDate>Tue, 08 Jan 2013 16:01:32 +0000</pubDate>
			<dc:creator>CraigTommola</dc:creator>
			<guid isPermaLink="false">116938@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How might I allow HTML in the confirmation message? I am using a modification in the functions.php file to generate a dynamic confirmation message and it appears strip_tags is removing my link from the type.&#60;/p&#62;
&#60;p&#62;See here for details:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/adding-a-link-to-a-dynamic-confirmation-message&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/adding-a-link-to-a-dynamic-confirmation-message&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bu on "Submitted content truncated (RGFormsModel::prepare_value)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitted-content-truncated-rgformsmodelprepare_value#post-55580</link>
			<pubDate>Tue, 17 Apr 2012 17:54:41 +0000</pubDate>
			<dc:creator>bu</dc:creator>
			<guid isPermaLink="false">55580@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I understand--a lot of thought goes into changes like this. Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Submitted content truncated (RGFormsModel::prepare_value)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitted-content-truncated-rgformsmodelprepare_value#post-54464</link>
			<pubDate>Fri, 06 Apr 2012 11:49:05 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">54464@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You have a valid point and I am willing to consider it. I will run it by the team and see what the others say. As you know, this is a change that will affect every field, so we need to be careful when implementing it. It is not something we can just get done quickly.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bu on "Submitted content truncated (RGFormsModel::prepare_value)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitted-content-truncated-rgformsmodelprepare_value#post-54389</link>
			<pubDate>Thu, 05 Apr 2012 16:01:15 +0000</pubDate>
			<dc:creator>bu</dc:creator>
			<guid isPermaLink="false">54389@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The prepare_value method in forms_model.php uses strip_tags() on fields that aren't &#34;whitelisted&#34; for HTML content. As a result, if someone submits content with a left angle bracket followed immediately by another character, this is interpreted as a tag and everything from this point is stripped from the input until a right angle bracket is found. There are times when users might use the left bracket followed immediately by another character in a non-code context (such as a &#34;less than&#34; comparison, which brought the issue to our attention). Furthermore, in some contexts (such as a support form) it might be desirable to allow users to submit any tags as non-interpreted text content. In this case, attempting to pass an exhaustive collection of allowed tags to the 'gform_allowable_tags' filter is an awkward and fragile solution.&#60;/p&#62;
&#60;p&#62;Using an escaping function such as esc_html() or esc_textarea() rather than strip_tags() would sanitize the content while preserving all user input.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
