Skip to content

Commit

Permalink
WW-4391 reverts changes as this breaks WW-4420
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Nov 17, 2014
1 parent 77c76dc commit e1025a2
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,7 @@ protected boolean preTemplateProcess(Template template, TemplateModel model) thr
contentType = "text/html";
}

String encoding = response.getCharacterEncoding();
if(encoding == null) {
encoding = template.getEncoding();
}
String encoding = template.getEncoding();

if (encoding != null) {
contentType = contentType + "; charset=" + encoding;
Expand Down

0 comments on commit e1025a2

Please sign in to comment.