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 11, 2024
1 parent 9f08dfa commit c1ef195
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,19 @@ 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_();

sink.tableCell();
linkPatternedText(createLinkPatternedText(String.valueOf(lineNumber), link));
sink.tableCell_();

sink.tableRow_();
}

/**
Expand Down

0 comments on commit c1ef195

Please sign in to comment.