mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 10:15:28 +02:00
Fix issue processwire/processwire-issues#1214
This commit is contained in:
@@ -1168,7 +1168,7 @@ class WireTextTools extends Wire {
|
||||
if($charKey !== false) {
|
||||
// replace escaped char with placeholder ($glue)
|
||||
$glue = $gluePrefix . $charKey . $glueSuffix;
|
||||
$escapes[$glue] = $options['keepEscapePrefix'] ? $escapePrefix . $char : $char;
|
||||
$escapes[$glue] = $options['restoreEscape'] ? $escapePrefix . $char : $char;
|
||||
$str .= $glue . $part;
|
||||
} else if($options['unescapeUnknown']) {
|
||||
// unescape unknown escape char
|
||||
|
Reference in New Issue
Block a user