Improved the renderers encoding by using the template encoding or encoding specified in a property
This commit is contained in:
parent
538a8d35ae
commit
9738ecb0ba
34 changed files with 197 additions and 61 deletions
|
@ -59,6 +59,7 @@ public class Mask implements ValueRenderer {
|
|||
// do nothing
|
||||
}
|
||||
}
|
||||
return RenderUtils.mask(template.getValueOrAttribute(differentiator), mask, unmasked, fromStart);
|
||||
return template.getEncoder().encode(
|
||||
RenderUtils.mask(template.getValueOrAttribute(differentiator), mask, unmasked, fromStart));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue