Skip to content

Commit

Permalink
GH-158 Correctly escape modulus title text
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Mar 13, 2024
1 parent 7d77cff commit 38e5b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/nodes/math/operator_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ String OScriptNodeOperator::_get_expression() const
{
return "Power(%s, %s)";
}
return "%s " + _info.code + " %s";
return "%s " + _info.code.replacen("%", "%%") + " %s";
}

bool OScriptNodeOperator::_is_unary() const
Expand Down

0 comments on commit 38e5b43

Please sign in to comment.