<?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: Posting code snippets through form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/posting-code-snippets-through-form</link>
		<description>Gravity Support Forums Topic: Posting code snippets through form</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 05:56:23 +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/posting-code-snippets-through-form" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Posting code snippets through form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-code-snippets-through-form#post-36652</link>
			<pubDate>Thu, 29 Sep 2011 17:26:21 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">36652@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Some fields should allow HTML such as the Post Body field when creating posts.  By default fields such as the textarea field do not.  There is a hook that can be used to configure allowable tags so that code can be inserted into a field.  That hook is here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_allowable_tags&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_allowable_tags&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Once you start allowing all sorts of code to be submitted via a form you could potentially open up your form to possible XSS attacks.  So this has to be used with caution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>octavian on "Posting code snippets through form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-code-snippets-through-form#post-36650</link>
			<pubDate>Thu, 29 Sep 2011 17:23:53 +0000</pubDate>
			<dc:creator>octavian</dc:creator>
			<guid isPermaLink="false">36650@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So...&#60;br /&#62;
I want my users to be able to post code snippets via gravity forms. The problem is that forms strip html from text fields.&#60;/p&#62;
&#60;p&#62;Is there any possibility to make this work? Like creating a special field that will accept any code but than convert it to text rather than just insert it as html into post?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
