* Trim href after rendering it from skin in postProcessHref() to cut of space/newline chars.

This commit is contained in:
hns 2007-02-10 10:09:08 +00:00
parent 0f7cd80500
commit fa5430a1d3

View file

@ -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;
} }