From 7ba0fd49106fb7f7601bfc3d6f9ead49b8d7369a Mon Sep 17 00:00:00 2001 From: MichaelHatherly Date: Fri, 21 Feb 2025 23:31:14 +0000 Subject: [PATCH] Add a changelog entry and new test case. --- news/changelog-1.7.md | 1 + tests/docs/smoke-all/2025/02/21/12132.qmd | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 tests/docs/smoke-all/2025/02/21/12132.qmd 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" +```