fixed process substitution bug
This commit is contained in:
parent
147aac791a
commit
e6ae7f1e30
1 changed files with 1 additions and 2 deletions
|
|
@ -132,8 +132,7 @@ sub process {
|
||||||
if ($@) {
|
if ($@) {
|
||||||
WebGUI::ErrorHandler::warn("Processing failed on macro: $macro: ".$@);
|
WebGUI::ErrorHandler::warn("Processing failed on macro: $macro: ".$@);
|
||||||
} else {
|
} else {
|
||||||
$macro =~ s/\^/\\\^/;
|
$content =~ s/\Q$macro/$result/ges;
|
||||||
$content =~ s/$macro/$result/ges;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue