<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.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>bbPress Support Forums &#187; Topic: How can I disable HTML in posts?</title>
		<link>http://bbpress.org/forums/topic/how-can-i-disable-html-in-posts</link>
		<description>bbPress Support Forums &#187; Topic: How can I disable HTML in posts?</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 08:34:54 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/topic/how-can-i-disable-html-in-posts" rel="self" type="application/rss+xml" />

		<item>
			<title>jonich0n on "How can I disable HTML in posts?"</title>
			<link>http://bbpress.org/forums/topic/how-can-i-disable-html-in-posts#post-89636</link>
			<pubDate>Mon, 11 Jul 2011 20:36:28 +0000</pubDate>
			<dc:creator>jonich0n</dc:creator>
			<guid isPermaLink="false">89636@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>The function you're looking for is bb_allowed_tags in functions.bb-formatting.php, and the allowed tags are stored in an array called $tags.</p>
<p>Create your own plugin file in /my-plugins/, activate it, and apply code to remove (unset) the desired HTML tags from the array. Or just empty the array completely (although I haven't tested this). Below is an example where I removed anchor/hyperlink functionality in posts:</p>
<p><code><br />
function remove_a_in_allowed_tags( $tags ) {<br />
	unset($tags['a']);<br />
	return $tags;<br />
}<br />
add_filter( 'bb_allowed_tags', 'remove_a_in_allowed_tags' );<br />
</code></p>
<p>You can quickly test this by inspecting the $tags array with the following code:</p>
<p><code><br />
// test allowed tags<br />
$tags = bb_allowed_tags();<br />
print_r($tags);<br />
</code>
</p>]]></description>
					</item>
		<item>
			<title>Burakhan on "How can I disable HTML in posts?"</title>
			<link>http://bbpress.org/forums/topic/how-can-i-disable-html-in-posts#post-37780</link>
			<pubDate>Mon, 29 Jun 2009 18:41:35 +0000</pubDate>
			<dc:creator>Burakhan</dc:creator>
			<guid isPermaLink="false">37780@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Thanks for your help. I tried but I couldnt do it. Any other ideas?
</p>]]></description>
					</item>
		<item>
			<title>chrishajer on "How can I disable HTML in posts?"</title>
			<link>http://bbpress.org/forums/topic/how-can-i-disable-html-in-posts#post-37745</link>
			<pubDate>Sun, 28 Jun 2009 21:53:29 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">37745@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>The allowable HTML tags are in an array called <code>bb_allowed_tags</code>.  I think you could create a plugin that just empties that array.</p>
<p><a href="http://bbpress.org/forums/topic/hooks-038-filters-docu#post-6740" rel="nofollow">http://bbpress.org/forums/topic/hooks-038-filters-docu#post-6740</a></p>
<p>I've only seen people requesting the opposite, allowing <strong>additional</strong> HTML markup, so I'm not sure exactly how to do this.
</p>]]></description>
					</item>
		<item>
			<title>Burakhan on "How can I disable HTML in posts?"</title>
			<link>http://bbpress.org/forums/topic/how-can-i-disable-html-in-posts#post-37740</link>
			<pubDate>Sun, 28 Jun 2009 20:21:33 +0000</pubDate>
			<dc:creator>Burakhan</dc:creator>
			<guid isPermaLink="false">37740@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hi everyone,<br />
I want to disable HTML codes in posts. I am using "BBcode Lite for bbPress" and I dont need html codes to edit my post. When my member want to add a HTML code that is useful to forums the code works and havent seen properly. How can I disable?
</p>]]></description>
					</item>

	</channel>
</rss>

