Commit ac89e229 authored by Liang Ding's avatar Liang Ding

Fix #12445

parent 0200357c
<?xml version="1.0" encoding="UTF-8"?>
<!--
Description: Solo POM.
Version: 3.18.3.6, Apr 17, 2018
Version: 3.18.3.7, May 14, 2018
Author: <a href="http://88250.b3log.org">Liang Ding</a>
Author: <a href="http://www.annpeter.cn">Ann Peter</a>
Author: <a href="http://vanessa.b3log.org">Vanessa</a>
......@@ -89,6 +89,7 @@
<emoji-java.version>3.2.0</emoji-java.version>
<jodd.version>3.9.1</jodd.version>
<snakeyaml.version>1.18</snakeyaml.version>
<freemarker.version>2.3.28</freemarker.version>
<!-- Maven Plugin -->
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
......@@ -237,6 +238,12 @@
<systemPath>${project.basedir}/src/main/resources/lib/net/pusuo/patchca-0.5.0.jar</systemPath>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>${freemarker.version}</version>
</dependency>
</dependencies>
<build>
......
......@@ -31,7 +31,7 @@ import java.io.IOException;
* rendering.
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.0.1.3, Jul 16, 2017
* @version 1.0.1.4, May 14, 2018
* @since 0.4.1
*/
public final class ConsoleRenderer extends AbstractFreeMarkerRenderer {
......@@ -47,7 +47,7 @@ public final class ConsoleRenderer extends AbstractFreeMarkerRenderer {
private static final Logger LOGGER = Logger.getLogger(ConsoleRenderer.class);
static {
TEMPLATE_CFG = new Configuration(Configuration.VERSION_2_3_0);
TEMPLATE_CFG = new Configuration(Configuration.VERSION_2_3_28);
TEMPLATE_CFG.setDefaultEncoding("UTF-8");
final ServletContext servletContext = SoloServletListener.getServletContext();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment