Remove leading whitespace from HTML
When editing HTML it makes sense to use indentation and whitespace. For example:
https://source.puri.sm/liberty/tool/project/blob/master/scripts/status.template.html
But after it is generated, indentation can confuse Markdown parsers. For example:
<h3>Heading</h3>
instead of
Heading
So please keep indentation in our template.html
files, but make sure the report.html
output file has all leading whitespace removed. There might be a configuration setting for this. In the worst case, please open the file, read it line by line, and write it back out without the whitespace.
I have attached two examples, one with leading whitespace, and one with the leading whitespace removed...