* Trim href after rendering it from skin in postProcessHref() to cut of space/newline chars.
This commit is contained in:
parent
0f7cd80500
commit
fa5430a1d3
1 changed files with 1 additions and 1 deletions
|
@ -698,7 +698,7 @@ public final class RhinoCore implements ScopeProvider {
|
||||||
if (skin != null) {
|
if (skin != null) {
|
||||||
Scriptable param = Context.getCurrentContext().newObject(global);
|
Scriptable param = Context.getCurrentContext().newObject(global);
|
||||||
param.put("path", param, href);
|
param.put("path", param, href);
|
||||||
href = skin.renderAsString(eng.getRequestEvaluator(), handler, param);
|
href = skin.renderAsString(eng.getRequestEvaluator(), handler, param).trim();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue