quarto-dev / quarto-dev/quarto-cli

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

Aperta
#11,645 7 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@cscheid ci sta già lavorando.

Dal 9/12/2024.

enhancement
Lingua principale
JavaScript
Stelle
6k
Fork
458
Merge medio
1g 9h
PR unite (30g)
41

Descrizione

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/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: 1.45
rmarkdown: 2.25

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.