@@ -262,7 +262,7 @@ document.domReady.push(function() {domReadyHistory();});
262
262
continue ;
263
263
}
264
264
265
- final String dispRev = Optional . ofNullable(entry. getDisplayRevision()).
265
+ final String htmlEncodedDisplayRevision = Optional . ofNullable(entry. getDisplayRevision()).
266
266
map(Util :: htmlize).
267
267
orElse(" " );
268
268
final String rev = Optional . ofNullable(entry. getRevision()).
@@ -286,7 +286,7 @@ document.domReady.push(function() {domReadyHistory();});
286
286
<tr ><%
287
287
if (cfg. isDir()) {
288
288
% >
289
- <td ><%= dispRev % > </td ><%
289
+ <td ><%= htmlEncodedDisplayRevision % > </td ><%
290
290
} else {
291
291
if (entry. isActive()) {
292
292
StringBuffer urlBuffer = request. getRequestURL();
@@ -298,7 +298,7 @@ document.domReady.push(function() {domReadyHistory();});
298
298
<td ><a href =" <%= urlBuffer % >"
299
299
title =" link to revision line" >#</a >
300
300
<a href =" <%= context + Prefix . XREF_P + uriEncodedName + " ?" +
301
- QueryParameters . REVISION_PARAM_EQ + Util . uriEncode(rev) % >" ><%= dispRev % >
301
+ QueryParameters . REVISION_PARAM_EQ + Util . uriEncode(rev) % >" ><%= htmlEncodedDisplayRevision % >
302
302
</a ></td >
303
303
<td ><%
304
304
% > <input type =" radio"
@@ -340,7 +340,7 @@ document.domReady.push(function() {domReadyHistory();});
340
340
} else {
341
341
striked = true ;
342
342
% >
343
- <td ><del ><%= dispRev % > </del ></td >
343
+ <td ><del ><%= htmlEncodedDisplayRevision % > </del ></td >
344
344
<td ></td ><%
345
345
}
346
346
}
@@ -363,7 +363,7 @@ document.domReady.push(function() {domReadyHistory();});
363
363
% ><%= Util . htmlize(author) % ><%
364
364
}
365
365
% > </td >
366
- <td ><a id =" <%= dispRev % >" ></a ><%
366
+ <td ><a id =" <%= htmlEncodedDisplayRevision % >" ></a ><%
367
367
// revision message collapse threshold minimum of 10
368
368
int summaryLength = Math . max(10 , cfg. getRevisionMessageCollapseThreshold());
369
369
String cout = Util . htmlize(entry. getMessage());
0 commit comments