I have a template with many TVs.
For subtitles I use a text TV, the output ist
[[*mytexttv:notempty='<h2>[[*mytexttv]]</h2>']]
(in original code there are backticks, not apostrophes)
It works with regular text, but a line ending with a question mark kills the output. On the frontend I see only a backtick and the following output is gone. Question mark is the only character which produces this behaviour. I tried other modifiers to test if the TV is empty or not but the result is always the same.
Any ideas?
Environment
MODX 2.8.1, Apache 2.4.43 (Unix), MySQL 5.7.32-log, PHP 7.4.13