fix all the tests (for sqlite, php7.4, osx, at least)

This commit is contained in:
Shish
2020-01-28 21:19:59 +00:00
parent ac1076b3f3
commit 615da9e9d2
57 changed files with 665 additions and 859 deletions

View File

@@ -46,9 +46,9 @@ class TipsTheme extends Themelet
$img = "";
if (!empty($tip['image'])) {
$img = "<img src=".$url.$tip['image']." /> ";
$img = "<img src=".$url.url_escape($tip['image'])." /> ";
}
$html = "<div id='tips'>".$img.$tip['text']."</div>";
$html = "<div id='tips'>".$img.html_escape($tip['text'])."</div>";
$page->add_block(new Block(null, $html, "subheading", 10));
}