What kind of change does this PR introduce?
Fix syntax error in DATA
What is the current behavior?
When a string in the state contains $&, it will be replaced with <div id="app"></div> in the __DATA__. String like $` and $' will become empty.
What is the new behavior?
Escape all $ characters appear in state with jsonEncode
What kind of change does this PR introduce? Fix syntax error in DATA
What is the current behavior? When a string in the state contains
$&
, it will be replaced with<div id="app"></div>
in the__DATA__
. String like$`
and$'
will become empty.What is the new behavior? Escape all
$
characters appear in state with jsonEncode