public class ScriptEvalTemplate extends Template
A new attribute eval is defined for the script
and style tags.
If eval is present, any ${...} constructs are evaluated in the
body of the "script" or "style".
If the attribute esc is true, then strings of the form
"\X" are replaced as per Format. Otherwise
"\X" is treated specially only for X = $, to escape variable
substitution.
Both "eval" and "esc" attributes are removed from the "script" or "style" tags.
| Constructor and Description |
|---|
ScriptEvalTemplate() |
| Modifier and Type | Method and Description |
|---|---|
void |
tag_script(RewriteContext hr) |
void |
tag_style(RewriteContext hr) |
public void tag_script(RewriteContext hr)
public void tag_style(RewriteContext hr)