<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Topic: bbpress doesn't auto-close tags?</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: bbpress doesn't auto-close tags?</description>
<language>en</language>
<pubDate>Thu, 16 Oct 2008 20:28:09 +0000</pubDate>

<item>
<title>benbeltran on "bbpress doesn't auto-close tags?"</title>
<link>http://bbpress.org/forums/topic/bbpress-doesnt-auto-close-tags#post-10466</link>
<pubDate>Fri, 24 Aug 2007 14:49:08 +0000</pubDate>
<dc:creator>benbeltran</dc:creator>
<guid isPermaLink="false">10466@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;works wonderfully ... now to see if I can make it work for the bb-signatures plugin :).
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "bbpress doesn't auto-close tags?"</title>
<link>http://bbpress.org/forums/topic/bbpress-doesnt-auto-close-tags#post-8752</link>
<pubDate>Sat, 07 Jul 2007 19:18:25 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">8752@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Yay! I figured out how to hack it to make it happen.&#60;br /&#62;
To leave the core files alone, I did it through a plugin.&#60;br /&#62;
The balancetags in bbpress takes less parameters than from WP.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
function force_balance_tags($text) {	return balanceTags($text,  true);}&#60;br /&#62;
add_filter('pre_post', 'force_balance_tags');&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Tested working.&#60;/p&#62;
&#60;p&#62;Another nice addition in there would be to add nofollow to any post links.&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
add_filter('pre_post', 'bb_rel_nofollow');&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "bbpress doesn't auto-close tags?"</title>
<link>http://bbpress.org/forums/topic/bbpress-doesnt-auto-close-tags#post-8751</link>
<pubDate>Sat, 07 Jul 2007 18:46:37 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">8751@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;AHA!&#60;/p&#62;
&#60;p&#62;I found a bug. Finally I can contribute.&#60;/p&#62;
&#60;p&#62;Wordpress does indeed auto-close tags and has a fantastic routine, the balancetags I mentioned above.&#60;/p&#62;
&#60;p&#62;HOWEVER&#60;/p&#62;
&#60;p&#62;it was copied raw into BBpress and it won't work by default because it's looking for an option that will never be set because BBpress doesn't have it &#60;/p&#62;
&#60;p&#62;&#60;code&#62;function balanceTags($text, $is_comment = 0, $force = false) {&#60;/p&#62;
&#60;p&#62;	if ( !$force &#38;#38;&#38;#38; get_option('use_balanceTags') == 0 )&#60;br /&#62;
		return $text;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;See what I mean? There's no manually way to set use_balanceTags in BBpress.&#60;/p&#62;
&#60;p&#62;So how do we force the filter on?  I know it has to be balanceTags ($text,1,1) to work.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "bbpress doesn't auto-close tags?"</title>
<link>http://bbpress.org/forums/topic/bbpress-doesnt-auto-close-tags#post-8750</link>
<pubDate>Sat, 07 Jul 2007 18:19:15 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">8750@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Actually I may be wrong about this.&#60;/p&#62;
&#60;p&#62;I dug through the default filters and I see this:&#60;/p&#62;
&#60;p&#62;add_filter('pre_post', 'balanceTags');&#60;/p&#62;
&#60;p&#62;Does balancetags == auto-close tags?&#60;br /&#62;
Looking at the function it would seem to be so.&#60;/p&#62;
&#60;p&#62;Perhaps I have a plugin conflict or does this behaviour exist on even on a default install?&#60;/p&#62;
&#60;p&#62;added: I just tested here and yup, it doesn't auto-close
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "bbpress doesn't auto-close tags?"</title>
<link>http://bbpress.org/forums/topic/bbpress-doesnt-auto-close-tags#post-8749</link>
<pubDate>Sat, 07 Jul 2007 17:31:08 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">8749@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;a href=&#34;http://trac.bbpress.org/ticket/683&#34; rel=&#34;nofollow&#34;&#62;http://trac.bbpress.org/ticket/683&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "bbpress doesn't auto-close tags?"</title>
<link>http://bbpress.org/forums/topic/bbpress-doesnt-auto-close-tags#post-8748</link>
<pubDate>Sat, 07 Jul 2007 17:28:44 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">8748@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;WP doesn't auto close tabs by default either (unless the new editor does it).     Does anyone know if the QuickTags plugin for bbPress auto closes tabs?&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "bbpress doesn't auto-close tags?"</title>
<link>http://bbpress.org/forums/topic/bbpress-doesnt-auto-close-tags#post-8739</link>
<pubDate>Sat, 07 Jul 2007 13:27:01 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">8739@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've got sloppy members not closing their tags and the markup runs through the rest of the page. Doesn't WP already do auto close on tags? Did bbpress not pick up that part of the code?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
