Skip to content

Commit 7380a6c

Browse files
committed
html-writer: highlight the "imp" flag
1 parent 6eae191 commit 7380a6c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

html-writer.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,12 @@ void HtmlWriter::handleDef(const Defect &def) {
448448
<< d->defCnt << "'>[#def"
449449
<< d->defCnt << "]</a>";
450450

451+
if (0 < def.imp) {
452+
// highlight the "imp" flag
453+
d->str << " <span style='color: #FF0000; font-weight: bold;'>"
454+
"[important]</span>";
455+
}
456+
451457
d->writeNewDefWarning(def);
452458

453459
d->str << "\n";

0 commit comments

Comments
 (0)