Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
line 167 of VelocityServiceImpl, version 1.3.3 reads as follows:
String encoding = (String) context.get("output.encoding");
This is pulling from context, which would require users to specify encoding as a template parameter when it's already (potentially) been provided as a config in the contribution.
Something like the following simplifies greatly and reduces duplication:
String encoding = (String) Velocity.getProperty("output.encoding");