Skip to content

Printed Commit Pages Missing Heading

Summary

When a commit page is printed in the web browser, the page heading is missing.

Previous versions of GitLab would correctly show commit messages as headers in printed output.

Steps to reproduce

Browse to a commit

Use browser print function.

Reproduced in Chrome and Firefox.

Example Project

What is the current bug behavior?

Printout missing heading.

What is the expected correct behavior?

Printout showing heading present in normal webpage view.

Relevant logs and/or screenshots

For, example, this commit page prints as follows, missing the commit message as a heading:

image.png

Output of checks

This bug happens on GitLab.com

Edited by 🤖 GitLab Bot 🤖