mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
b63d94838d
Using substr can cut a multi-byte character in half. Also, if a long post with many multi-byte characters was reported, then the mod interface would temporarily extend the body_truncate_char setting to be sure to cover all of the *characters* in the report, but this function would interpret body_truncate_char as a number of *bytes*, so sometimes the end of the report's appended html would be cut off. |
||
---|---|---|
.. | ||
lib | ||
locale | ||
mod | ||
anti-bot.php | ||
cache.php | ||
config.php | ||
database.php | ||
display.php | ||
events.php | ||
filters.php | ||
functions.php | ||
image.php | ||
instance-config.php | ||
mod.php | ||
remote.php | ||
template.php |