mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Markup/Misc
* fixed ajax fulltext sanitizer eating \s instead of \n after 57864d2544
* happy new year
This commit is contained in:
@@ -113,7 +113,7 @@ class AjaxHandler
|
||||
protected static function checkFulltext(string $val) : string
|
||||
{
|
||||
// trim non-printable chars
|
||||
return preg_replace('/[\p{Cf} \p{Co} \p{Cs} \p{Cn}]/ui', '', $val);
|
||||
return preg_replace('/[\p{Cf}\p{Co}\p{Cs}\p{Cn}]/ui', '', $val);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -85,7 +85,7 @@ endif;
|
||||
<a href="?aboutus"><?=Lang::main('aboutUs'); ?></a>|<a href="https://github.com/Sarjuuk/aowow" target="_blank">Github</a>|<a href="#" id="footer-links-language"><?=Lang::main('language'); ?></a>
|
||||
</div>
|
||||
<div class="footer-copy">
|
||||
ツ 2021 Aowow<br />rev. <?=AOWOW_REVISION; ?>
|
||||
ツ 2022 Aowow<br />rev. <?=AOWOW_REVISION; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user