Skip to content

Error adding css vars block Error: Can't handle character: "÷" #11645

@LucyMcGowan

Description

@LucyMcGowan

Bug description

Similar to #11148, I am seeing the following:

Error adding css vars block Error: Can't handle character: "÷" (12999:13)
at InputStream.err (file:///Applications/quarto/bin/quarto.js:48871:15)
at Object.err (file:///Applications/quarto/bin/quarto.js:48890:23)
at TokenStream.err (file:///Applications/quarto/bin/quarto.js:48960:27)
at TokenStream.read_next (file:///Applications/quarto/bin/quarto.js:48996:14)
at TokenStream.peek (file:///Applications/quarto/bin/quarto.js:48946:32)
at Object.peek (file:///Applications/quarto/bin/quarto.js:49118:22)
at file:///Applications/quarto/bin/quarto.js:49153:36
at Array.reduce ()
at Parser.is_type (file:///Applications/quarto/bin/quarto.js:49152:23)
at Parser.is_punctuation (file:///Applications/quarto/bin/quarto.js:49164:21)
The resulting CSS file will not have SCSS color variables exported as CSS.
This is likely a Quarto bug.

// quarto-scss-analysis-annotation { "quarto-version": "1.6.39" }

// quarto-scss-analysis-annotation { "origin": "'use' section from format" }

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Your environment

No response

Quarto check output

Quarto 1.6.39
[✓] Checking environment information...
Quarto cache location: /Users/lucymcgowan/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.6.39
Path: /Applications/quarto/bin

[✓] Checking tools....................OK
TinyTeX: v2024.01
Chromium: (not installed)

[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/lucymcgowan/Library/TinyTeX/bin/universal-darwin
Version: 2024

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
Version: 3.12.4
Path: /opt/homebrew/opt/[email protected]/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: 1.45
rmarkdown: 2.25

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions