You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Better, as the tags are at least closed here. However, they are still not in the correct order. I have shown this with indentation. </span> must be before</td>.
My suspicion is that the minifier is incapable of handling the invalid HTML — tags must be closed in the reverse order they are opened in. Browsers appear capable of handling the unminified code, although the minified code completely breaks the rest of the page.
The text was updated successfully, but these errors were encountered:
Bug Report
Environment
Zola version: 0.16.1
Step to reproduce
Just press enter repeatedly for the prompts. It'll be overridden by this script.
Expected Behavior
HTML code is minified properly.
Current Behavior
Manually formatting the minified code results in this:
Note that the second to last line opens, rather than closes, the tags.
Now comment out
minify_html = true
inconfig.toml
and runzola serve
. The HTML generated follows (manually formatted again):Better, as the tags are at least closed here. However, they are still not in the correct order. I have shown this with indentation.
</span>
must be before</td>
.My suspicion is that the minifier is incapable of handling the invalid HTML — tags must be closed in the reverse order they are opened in. Browsers appear capable of handling the unminified code, although the minified code completely breaks the rest of the page.
The text was updated successfully, but these errors were encountered: