Forum Bugs

Possible regression in 20240704

yyang
This issue was found when I was testing the grid support.

With 20240704, this Godoc page generates 16 pages, most of which are blank. A Ctrl-A plus Ctrl-C indicates most text gets lost. With 20240626 (and previous versions, IIRC), the resulting PDF has 58 pages, and are largely well formatted.

By the way, is it possible to give more love to this issue? It's likely caused by the internal JavaScript engine, which is hard to check from the outside.
markbrown
> With 20240626 (and previous versions, IIRC), the resulting PDF has 58 pages, and are largely well formatted.

The old formatting was more-or-less by chance as we were previously laying the grid containers out as block containers, which won't work well in general. Now they are grids, but these can't fragment yet so they will overflow the page.

You can "fix" the problem in this case by adding some extra CSS, e.g.:

.go-Main { display: block !important; }
yyang
Thanks! It works quite well.