Quarto website treats h1
as quarto-title-block
if no title
in frontmatter
#11686
Labels
duplicate
This issue or pull request already exists
Bug description
Hello,
After updating to 1.6.39, quarto websites began treating a raw html
h1
as the page title, which appears to drop any other CSS attached to saidh1
.Maybe this behaviour is intended; it came as a surprise for me at least.
Steps to reproduce
Here's the example that caused the error.
Setting title to "" (or removing it from the frontmatter entirely) causes "upper-content" class to be overridden by quarto's title block.
And the corresponding
styles.css
:Expected behavior
The words "Turing.jl" should show up in red.
Actual behavior
The words "Turing.jl" show up in black (CSS class "upper-content" was not applied).
Your environment
quarto preview
on the terminalQuarto check output
The text was updated successfully, but these errors were encountered: