-
Notifications
You must be signed in to change notification settings - Fork 367
Description
Bug description
Following an upgrade from Quarto 1.3.x to 1.4.550, Jupyter notebooks now render with a duplicate H1 heading.
Steps to reproduce
Run quarto render
or quarto preview
on https://github.com/validmind/documentation/blob/main/site/notebooks/quickstart_customer_churn_full_suite.ipynb (or clone the repo, cd into site/, and run quarto preview).
Expected behavior
The notebook should render with a single H1 heading, similar to this screenshot:

Actual behavior
There's an extra H1 heading that gets rendered:

In the output HMTL, this appears as:
<header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title">
<h1 class="title">Quickstart for Customer Churn Model Documentation — Full Suite</h1>
</div>
<div class="quarto-title-meta">
</div>
</header>
<section id="quickstart-for-customer-churn-model-documentation-full-suite" class="level1">
<h1>Quickstart for Customer Churn Model Documentation — Full Suite</h1>
Note the extra <h1>
tag at the bottom.
Note that this version of Quarto also seems to have some info flags turned on by default. E.g. quarto preview
now outputs a whole lot of r1
and r2
info messages:
Browse at http://localhost:3976/notebooks/quickstart_customer_churn_full_suite.html
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-cube\" aria-label=\"cube\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-cube\" aria-label=\"cube\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-rocket\" aria-label=\"rocket\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-rocket\" aria-label=\"rocket\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-cubes\" aria-label=\"cubes\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-cubes\" aria-label=\"cubes\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-code\" aria-label=\"code\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-code\" aria-label=\"code\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-book\" aria-label=\"book\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-book\" aria-label=\"book\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-book-open-reader\" aria-label=\"book-open-reader\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-book-open-reader\" aria-label=\"book-open-reader\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-download\" aria-label=\"download\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-download\" aria-label=\"download\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-hand-point-right\" aria-label=\"hand-point-right\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-hand-point-right\" aria-label=\"hand-point-right\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-hand-point-left\" aria-label=\"hand-point-left\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-hand-point-left\" aria-label=\"hand-point-left\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-vial\" aria-label=\"vial\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-vial\" aria-label=\"vial\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-flask-vial\" aria-label=\"flask-vial\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-flask-vial\" aria-label=\"flask-vial\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-microscope\" aria-label=\"microscope\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-microscope\" aria-label=\"microscope\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-book\" aria-label=\"book\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-book\" aria-label=\"book\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-external-link\" aria-label=\"external-link\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-external-link\" aria-label=\"external-link\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-external-link\" aria-label=\"external-link\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-external-link\" aria-label=\"external-link\"></i>"]
r1 [RawInline (Format "html") "<i class=\"fa-solid fa-external-link\" aria-label=\"external-link\"></i>"]
r2 [RawInline (Format "html") "<i class=\"fa-solid fa-external-link\" aria-label=\"external-link\"></i>"]
GET: /notebooks/quickstart_customer_churn_full_suite.html
Your environment
VS Code
Version: 1.86.1
Commit: 31c37ee8f63491495ac49e43b8544550fbae4533
Date: 2024-02-07T09:08:57.920Z
Electron: 27.2.3
ElectronBuildId: 26495564
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin arm64 23.3.0 (macOS)
Quarto check output
❯ quarto check
Quarto 1.4.550
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.550
Path: /Applications/quarto/bin
[✓] Checking tools....................OK
TinyTeX: v2024.02
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/nrichers/Library/TinyTeX/bin/universal-darwin
Version: 2023
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.12.2
Path: /opt/homebrew/opt/python@3.12/bin/python3.12
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking R installation...........OK
Version: 4.3.2
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library
knitr: (None)
rmarkdown: (None)
The knitr package is not available in this R installation.
Install with install.packages("knitr")
The rmarkdown package is not available in this R installation.
Install with install.packages("rmarkdown")