semi-colons inside [toc] sometimes cause PHP error

Created on 11 September 2024, 8 months ago
Updated 12 September 2024, 7 months ago

Problem/Motivation

Oddly, semi-colons do not always cause a PHP error in toc_api's Toc.php but sometimes they do. It would be safest to strip them. The attached patch does that and strips a few other punctuation marks which may cause problems.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024