2021-10-06, 02:35 PM
Hi there,
I manage a technical forum where often my users post scripts or snippets, and they sometime contain weird characters (control code).
No trouble with the forum itself but it brokes the syndication feed with some readers.
So, the solution I found was to remove non-printable chars from the message:
syndication.php#L228
Modified line:
PR #4462
I manage a technical forum where often my users post scripts or snippets, and they sometime contain weird characters (control code).
No trouble with the forum itself but it brokes the syndication feed with some readers.
So, the solution I found was to remove non-printable chars from the message:
syndication.php#L228
Modified line:
$items[$post['tid']]['description'] = preg_replace('/[[:^print:]]/', '', $parsed_message);
PR #4462