From: <nk...@us...> - 2010-04-13 05:02:22
|
Revision: 26600 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=26600&view=rev Author: nkoth Date: 2010-04-13 05:02:16 +0000 (Tue, 13 Apr 2010) Log Message: ----------- [FIX] Snippets should not contain line breaks Modified Paths: -------------- branches/5.x/lib/tikilib.php Modified: branches/5.x/lib/tikilib.php =================================================================== --- branches/5.x/lib/tikilib.php 2010-04-13 04:50:44 UTC (rev 26599) +++ branches/5.x/lib/tikilib.php 2010-04-13 05:02:16 UTC (rev 26600) @@ -8198,7 +8198,7 @@ if ($prefs['search_parsed_snippet'] == 'y') { $_REQUEST['redirectpage'] = 'y'; //do not interpret redirect $data = $this->parse_data($data, array('is_html' => $is_html, 'stripplugins' => true, 'parsetoc' => true)); - $data = strip_tags($data, '<b><i><em><strong><pre><code><br>'); + $data = strip_tags($data, '<b><i><em><strong><pre><code>'); } if (function_exists('mb_substr')) return mb_substr($data, 0, $length); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |