Skip to content

Commit

Permalink
Use sink directly for tableRow with comments
Browse files Browse the repository at this point in the history
fix #165
  • Loading branch information
slawekjaranowski committed Oct 12, 2024
1 parent 9f08dfa commit 84448b2
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,17 @@ private void doCommentLine(FileReport fileReport, Integer lineNumber) {
}
}

tableRow(new String[] {comment, createLinkPatternedText(String.valueOf(lineNumber), link)});
// we can not use convenience method here ...
// https://github.com/mojohaus/taglist-maven-plugin/issues/165
sink.tableRow();

sink.tableCell();
text(comment);
sink.tableCell_();

tableCell(createLinkPatternedText(String.valueOf(lineNumber), link));

sink.tableRow_();
}

/**
Expand Down

0 comments on commit 84448b2

Please sign in to comment.