<?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: Please help with preformatted text issue...</title>
		<link>https://legacy.forums.gravityhelp.com/topic/please-help-with-preformatted-text-issue</link>
		<description>Gravity Support Forums Topic: Please help with preformatted text issue...</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 09:42:30 +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/please-help-with-preformatted-text-issue" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Please help with preformatted text issue..."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/please-help-with-preformatted-text-issue#post-6754</link>
			<pubDate>Mon, 28 Jun 2010 02:03:32 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">6754@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;code&#62;style=&#38;quot;border-width:0&#38;quot;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Good catch.  Very neat thing you're doing here.  I like it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>RichardBest on "Please help with preformatted text issue..."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/please-help-with-preformatted-text-issue#post-6752</link>
			<pubDate>Mon, 28 Jun 2010 01:26:05 +0000</pubDate>
			<dc:creator>RichardBest</dc:creator>
			<guid isPermaLink="false">6752@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Apologies for bothering you guys with this. After an hour of digging, I think I've figured out that (a) there was one instance in the above code of double quotes, which was causing the parse error, and (b) I can get the code into my post, unformatted, if I use the excellent WP Post Encode plugin (at &#60;a href=&#34;http://darrinb.com/notes/2010/wp-post-encode/)&#34; rel=&#34;nofollow&#34;&#62;http://darrinb.com/notes/2010/wp-post-encode/)&#60;/a&#62;. The plugin seems to be WP3.0 compatible. A few tweaks to the CSS and, fingers crossed, that wall I mentioned above is all gone.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>RichardBest on "Please help with preformatted text issue..."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/please-help-with-preformatted-text-issue#post-6749</link>
			<pubDate>Mon, 28 Jun 2010 00:09:04 +0000</pubDate>
			<dc:creator>RichardBest</dc:creator>
			<guid isPermaLink="false">6749@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl, Alex, Kevin&#60;/p&#62;
&#60;p&#62;As you probably know, I'm using the GF hooks to get content into posts depending on answers to various questions in forms. Right now I've come against a wall. I'm trying to include the following kind of code in my functions.php file:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$post_data[&#38;quot;post_content&#38;quot;] .= &#38;quot;&#38;lt;p&#38;gt;&#38;lt;a rel=&#38;#39;license&#38;#39; href=&#38;#39;http://creativecommons.org/licenses/by/3.0/nz/&#38;#39;&#38;gt;&#38;lt;img alt=&#38;#39;Creative Commons License&#38;#39; style=&#38;quot;border-width:0&#38;quot; src=&#38;#39;http://i.creativecommons.org/l/by/3.0/nz/88x31.png&#38;#39; /&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;br /&#38;gt;&#38;lt;span xmlns:dc=&#38;#39;http://purl.org/dc/elements/1.1/&#38;#39; href=&#38;#39;http://purl.org/dc/dcmitype/MovingImage&#38;#39; property=&#38;#39;dc:title&#38;#39; rel=&#38;#39;dc:type&#38;#39;&#38;gt;[Title of work]&#38;lt;/span&#38;gt; by &#38;lt;a xmlns:cc=&#38;#39;http://creativecommons.org/ns#&#38;#39; href=&#38;#39;[Attribute work to URL]&#38;#39; property=&#38;#39;cc:attributionName&#38;#39; rel=&#38;#39;cc:attributionURL&#38;#39;&#38;gt;[Attribute work to name]&#38;lt;/a&#38;gt; is licensed under a &#38;lt;a rel=&#38;#39;license&#38;#39; href=&#38;#39;http://creativecommons.org/licenses/by/3.0/nz/&#38;#39;&#38;gt;Creative Commons Attribution 3.0 New Zealand License&#38;lt;/a&#38;gt;.&#38;lt;br /&#38;gt;Based on a work at &#38;lt;a xmlns:dc=&#38;#39;http://purl.org/dc/elements/1.1/&#38;#39; href=&#38;#39;[Source work URL]&#38;#39; rel=&#38;#39;dc:source&#38;#39;&#38;gt;[Source work URL]&#38;lt;/a&#38;gt;.&#38;lt;br /&#38;gt;Permissions beyond the scope of this license may be available at &#38;lt;a xmlns:cc=&#38;#39;http://creativecommons.org/ns#&#38;#39; href=&#38;#39;[More permissions URL]&#38;#39; rel=&#38;#39;cc:morePermissions&#38;#39;&#38;gt;[More permissions URL]&#38;lt;/a&#38;gt;.&#38;lt;/p&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Unfortunately, this won't parse properly. I get the good old  &#34;unexpected T_STRING&#34; error message. Do you know how I can include pre-formatted text/code like this please? I've tried using code tags but that doesn't work either. I'm sure everything else is fine as I've done a test with the word 'test' between the p tags and that works fine.&#60;/p&#62;
&#60;p&#62;I'm really hoping we can crack this one please.&#60;/p&#62;
&#60;p&#62;Many thanks&#60;br /&#62;
Richard
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
