Project

General

Profile

Actions

Bug #7887

open

IF substitutions don't reliably allow quotes

Added by krileon about 4 years ago. Updated 6 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
19 March 2020
Due date:
% Done:

0%

Estimated time:

Description

Using a quote inside of an IF substitution value doesn't reliably work. Examples as follows.

[cb:if user_id="4"2"]ME[/cb:if]

With the old REGEXP this worked. With new it does not. With new the below should work.

[cb:if user_id="4\"2"]ME[/cb:if]

This however also does not work. See if a fallback can be added to use the previous REGEXP behavior if we fail with the new one. This appears to only be an issue if using quotes inside a substitution which is likely unused or uncommon.

Actions

Also available in: Atom PDF