If macro returned something write it to the response object regardless if
the macro wrote to the response itself or not.
This commit is contained in:
parent
5b862803c6
commit
5a589d4bd6
1 changed files with 3 additions and 1 deletions
|
@ -333,7 +333,9 @@ public class Skin {
|
||||||
String suffix = (String) parameters.get ("suffix");
|
String suffix = (String) parameters.get ("suffix");
|
||||||
reval.res.insert (oldLength, prefix);
|
reval.res.insert (oldLength, prefix);
|
||||||
reval.res.write (suffix);
|
reval.res.write (suffix);
|
||||||
} else if (v != null) {
|
}
|
||||||
|
// if macro returned something append it to response
|
||||||
|
if (v != null) {
|
||||||
writeToResponse (v.toString (), reval.res);
|
writeToResponse (v.toString (), reval.res);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue