-
Notifications
You must be signed in to change notification settings - Fork 389
Closed
Description
Bug description
The following document:
---
title: "<div style='zoom:75%;'>min-reprex</div>"
format: html
editor: visual
---
yields this warning:
pandoc
to: html
output-file: quarto_bug_warning_reprex.html
standalone: true
section-divs: true
html-math-method: mathjax
wrap: none
default-image-extension: png
metadata
document-css: false
link-citations: true
date-format: long
lang: en
title: '<div style=''zoom:75%;''>min-reprex</div>'
editor: visual
[WARNING] This document format requires a nonempty <title> element.
Defaulting to 'quarto-input90370470' as the title.
To specify a title, use 'title' in metadata or --metadata title="...".
Output created: quarto_bug_warning_reprex.html
HTML tags in the <h1> title (within the ) are useful, for example, it makes it really easy to add an image above the title, and additional flexibilities of course.
However, quarto yields a warning (and also the html's title is influenced by quarto's behavior).
I suggest that quarto parse html tags and apply them in the body (as it currently does), but for the tab's title (the <head><title>...</title></head> use a parsed version without the html tags.
RStudio 2022.07.1+554 "Spotted Wakerobin" Release (7872775ebddc40635780ca1ed238934c3345c5de, 2022-07-22) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36
quarto check Output
[>] Checking Quarto installation......OK
Version: 1.0.36
Path: C:\Program Files\RStudio\bin\quarto\bin\
CodePage: 1252
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....(None)
Unable to locate an installed version of Python 3.
Install Python 3 from https://www.python.org/downloads/
[>] Checking R installation...........OK
Version: 4.2.0
Path: C:/PROGRA~1/R/R-42~1.0
LibPaths:
- C:/Users/adisa/AppData/Local/R/win-library/4.2
- C:/Program Files/R/R-4.2.0/library
rmarkdown: 2.14
[>] Checking Knitr engine render......OKquarto tools check Output
[>] Inspecting tools
Tool Status Installed Latest
chromium Not installed --- 869685
tinytex Not installed --- v2022.07Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working