Commit Graph
5 Commits
Author SHA1 Message Date
Macil Tech 91e8547b04 Add image_reject_repost_in_thread option 2013-01-19 00:25:24 -06:00
Macil Tech b63d94838d Do truncation by actual character count.
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.
2013-01-18 18:26:25 -06:00
Macil Tech 948dfe8555 Don't truncate inside an HTML comment! 2013-01-18 18:26:25 -06:00
Macil Tech 46f50248f0 Don't require closing tag for tags that don't need it. 2013-01-18 18:26:25 -06:00
Macil Tech bec9f21787 Antibot make_confusing fix 2012-08-25 07:52:37 -06:00