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