a couple of changes from master
This commit is contained in:
parent
bc23362bda
commit
7fcaf851f1
@ -46,7 +46,7 @@ class BBCodeUnitTest extends UnitTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function filter($in) {
|
private function filter($in) {
|
||||||
$bb = new WordFilter();
|
$bb = new BBCode();
|
||||||
$tfe = new TextFormattingEvent($in);
|
$tfe = new TextFormattingEvent($in);
|
||||||
$bb->receive_event($tfe);
|
$bb->receive_event($tfe);
|
||||||
return $tfe->formatted;
|
return $tfe->formatted;
|
||||||
|
@ -136,7 +136,7 @@ class TagList implements Extension {
|
|||||||
$tag_data = $result->GetArray();
|
$tag_data = $result->GetArray();
|
||||||
|
|
||||||
$html = "";
|
$html = "";
|
||||||
$lastLetter = 0;
|
$lastLetter = "";
|
||||||
foreach($tag_data as $row) {
|
foreach($tag_data as $row) {
|
||||||
$h_tag = html_escape($row['tag']);
|
$h_tag = html_escape($row['tag']);
|
||||||
$count = $row['count'];
|
$count = $row['count'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user