Fix display of Commit Message
If there are no HTML tags in the text, just break on lines. Change-Id: Ifead11e79af8db2a06c3824b7ab4877e51d2af03
This commit is contained in:
@@ -178,7 +178,7 @@ public abstract class PrettyFormatter implements SparseHtmlFile {
|
||||
}
|
||||
|
||||
// Line end occurs before the next HTML tag. Break the line.
|
||||
if (0 <= lf && lf < tagStart) {
|
||||
if (0 <= lf && (lf < tagStart || tagStart < 0)) {
|
||||
if (textChunkStart < lf) {
|
||||
lastTag.open(buf, html);
|
||||
htmlText(html.substring(textChunkStart, lf));
|
||||
|
||||
Reference in New Issue
Block a user