diff --git a/news/changelog-1.7.md b/news/changelog-1.7.md index f11c2906dc..164b71f487 100644 --- a/news/changelog-1.7.md +++ b/news/changelog-1.7.md @@ -81,3 +81,4 @@ All changes included in 1.7: - ([#10532](https://github.com/quarto-dev/quarto-cli/issues/10532)): Quarto changed default of `--headless=old` to `--headless` as [Chrome 132 has removed old headless mode](https://developer.chrome.com/blog/removing-headless-old-from-chrome) and only support new mode. For using old mode, `QUARTO_CHROMIUM` could be set to a [new `chrome-headless-shell` binary](https://developer.chrome.com/blog/chrome-headless-shell) or too an older chrome version (between 128 and 132) and `QUARTO_CHROMIUM_HEADLESS_MODE` set to `old` for using old headless mode with that compatabitle version. - ([#10961](https://github.com/quarto-dev/quarto-cli/issues/10961)): Add more information on which Chrome Headless will be used in `quarto check install`. This is helpful to help debug mermaid issues. - ([#11951](https://github.com/quarto-dev/quarto-cli/issues/11951)): Raw LaTeX table without `tbl-` prefix label for using Quarto crossref are now correctly passed through unmodified. +- ([#12117](https://github.com/quarto-dev/quarto-cli/issues/12117)): Color output to stdout and stderr is now correctly rendered for `html` format in the Jupyter and Julia engines. diff --git a/tests/docs/smoke-all/2025/02/21/12132.qmd b/tests/docs/smoke-all/2025/02/21/12132.qmd new file mode 100644 index 0000000000..63fbc17e86 --- /dev/null +++ b/tests/docs/smoke-all/2025/02/21/12132.qmd @@ -0,0 +1,18 @@ +--- +engine: julia +format: html +_quarto: + tests: + html: + ensureHtmlElements: + - ["div.cell-output-stdout div.ansi-escaped-output pre span.ansi-red-fg.ansi-bold"] + - ["div.cell-output-stdout div.ansi-escaped-output pre span.ansi-red-cyan-bold"] +--- + +```{julia} +printstyled("red"; color = :red, bold = true) +``` + +```{julia} +@info "logging" +```