diff --git a/portal-web/docroot/html/portlet/wiki/history_navigation.jsp b/portal-web/docroot/html/portlet/wiki/history_navigation.jsp
index 20071acabb395ff38445d0f0a716354c2b71188c..439432e820263be29073a2d051fde11a789d6f26 100644
--- a/portal-web/docroot/html/portlet/wiki/history_navigation.jsp
+++ b/portal-web/docroot/html/portlet/wiki/history_navigation.jsp
@@ -103,7 +103,7 @@ if (type.equals("html")) {
 			cssClass="central-title"
 			image="pages"
 			label="<%= true %>"
-			message='<%= LanguageUtil.format(pageContext, "comparing-versions-x-and-x", new Object[] {sourceVersionString, targetVersionString}) %>'
+			message='<%= LanguageUtil.format(pageContext, "comparing-versions-x-and-x", new Object[] {sourceVersionString, targetVersionString}, false) %>'
 		/>
 
 		<c:choose>
@@ -170,7 +170,7 @@ if (type.equals("html")) {
 					/>
 
 					<c:if test="<%= Validator.isNotNull(wikiPage.getSummary()) %>">
-						<%= StringPool.COLON + StringPool.SPACE + wikiPage.getSummary() %>
+						<%= StringPool.COLON + StringPool.SPACE + HtmlUtil.escape(wikiPage.getSummary()) %>
 					</c:if>
 
 					<c:if test="<%= wikiPage.isMinorEdit() %>">
