public class JsValidateUnquotedLiteral extends Object implements TextFilter
<script>
var x = </script>
Currently it only accepts boolean and numeric literals. All other values are replaced with a
'null'. This behavior may be extended if required at a later time. This replicates the
autoescaping behavior of Clearsilver.Constructor and Description |
---|
JsValidateUnquotedLiteral() |
public void filter(String in, Appendable out) throws IOException
filter
in interface TextFilter
IOException
Copyright © 2010–2017 Google. All rights reserved.