Skip to content

Commit

Permalink
Made sure that HTML tags will be allowed if configured, even when cas…
Browse files Browse the repository at this point in the history
…e is different.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@961 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Jeroen Latour committed May 14, 2002
1 parent ce16d11 commit 297fb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_print_API.php
Expand Up @@ -986,7 +986,7 @@ function filter_html_tags( $p_string ) {
for ($i=0;$i<$t_tag_count;$i++) {
$tag = preg_replace( $t_filter_from, $t_filter_to, $g_html_tags[$i] );

$p_string = preg_replace( "/&lt;($tag)&gt;/", "<\\1>", $p_string );
$p_string = preg_replace( "/&lt;($tag)&gt;/i", "<\\1>", $p_string );
}

return $p_string;
Expand Down

0 comments on commit 297fb93

Please sign in to comment.