Skip to content

Commit ba9eb87

Browse files
committed
[errorprone] Fix EscapedEntity
See https://errorprone.info/bugpattern/EscapedEntity Change-Id: If89e16046b9d45ed4f1eb0c9b540a1f51560b149
1 parent 0f85ecb commit ba9eb87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/com/google/gitiles/doc/html/HtmlBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public HtmlBuilder space() {
251251

252252
private static final Pattern HTML_ENTITY = Pattern.compile("&[a-z]+;");
253253

254-
/** Append constant entity reference like {@code  }. */
254+
/** Append constant entity reference like <code>&amp;nbsp&#59;</code>. */
255255
public void entity(String entity) {
256256
checkArgument(HTML_ENTITY.matcher(entity).matches(), "invalid entity %s", entity);
257257
finishActiveTag();

0 commit comments

Comments
 (0)