Skip to main content

write_default_html_table

Function write_default_html_table 

Source
pub fn write_default_html_table(
    text_report: &str,
    w: &mut dyn Write,
) -> Result<()>
Expand description

Write an HTML table from tab-delimited text report data.

This is the default HTML output for modules that use write_text_report to produce a tab-delimited table. It parses the text report output and converts it to an HTML table matching Java’s writeXhtmlTable() output.

The Java AbstractQCModule.writeXhtmlTable() writes <table><thead><tr><th>...</th></tr></thead><tbody><tr><td>...</td></tr>...</tbody></table>