Skip to content

fix(ci): don't minify html to preserve tabs in old-style docs tables#452

Merged
justinmk merged 1 commit into
neovim:masterfrom
yochem:table-alignment
Mar 9, 2026
Merged

fix(ci): don't minify html to preserve tabs in old-style docs tables#452
justinmk merged 1 commit into
neovim:masterfrom
yochem:table-alignment

Conversation

@yochem
Copy link
Copy Markdown
Contributor

@yochem yochem commented Mar 9, 2026

Problem

Hugo's --minify flag minifies HTML and thereby reduces all consecutive whitespace to a single space character (instead of tab), not rendering the "old-style" tab-delimited tables in the docs. This is probably a bug on Hugo's side (and possibly introduced somewhere introduced between v0.152.2 and v0.156.0, 8a75395).

Solution

Disable minification of the HTML for now.

Closes: #451

Problem:
Hugo's `--minify` flag minifies HTML and thereby reduces all
consecutive whitespace to a single space character (instead of tab),
not rendering the "old-style" tab-delimited tables in the docs. This is
probably a bug on Hugo's side (and possibly introduced somewhere
introduced between v0.152.2 and v0.156.0, 8a75395).

Solution:
Disable minification of the HTML for now.
@yochem yochem force-pushed the table-alignment branch from 607bbe2 to 0ace30c Compare March 9, 2026 18:11
@justinmk justinmk merged commit 7dc6aa1 into neovim:master Mar 9, 2026
1 check passed
@yochem
Copy link
Copy Markdown
Contributor Author

yochem commented Mar 9, 2026

Seems to be fixed now (See https://neovim.io/doc/user/quickref/#quickref) :)

@yochem yochem deleted the table-alignment branch March 16, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

possible regression in tab-delimited tables for "old" layout

2 participants