Skip to content

Commit

Permalink
XHTML strict fix in the word censorship filter
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhunt committed Apr 9, 2009
1 parent c6b4179 commit 522a8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter/censor/filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function filter($text){
foreach ($badwords as $badword) {
$badword = trim($badword);
if($this->_canseecensor()){
$words[] = new filterobject($badword, '<span title"'.$badword.'">', '</span>',
$words[] = new filterobject($badword, '<span title="'.$badword.'">', '</span>',
false, false, $badword);
} else {
$words[] = new filterobject($badword, '<span class="censoredtext" title="'.$badword.'">',
Expand Down

0 comments on commit 522a8ac

Please sign in to comment.