Open bmarwell opened 2 years ago
@bmarwell ran into the same issue for one of my projects. What seems to work is setting the noNewlinesBeforeTagClose
option to true.
Edit: This does not seem to work either.
My related issue: with maxLineLength
and the following snippet: <title id="ref-something">Something
, https://github.com/terser/html-minifier-terser/ can put a linebreak in between the opening tag and the text, resulting in whitespace before Something
which leads to layout issues and other bugs.
Hi,
maxLineLength
will split after thepre code
elements:resulting into:
This on the other hand will add an extra whitespace into the code. If combined with a line enumerator, the line #1 will be empty and the code starts at line two.