quarto-dev / quarto-dev/quarto-cli
Issue with weasyprint and markdown numbers in PDF reports
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
A markdown cell in a .ipynb that contains a number will be printed in a very funky way using the weasyprint engine and the format is PDF
Using the following code as a markdown cell in a ipynb
one string 212 another string
The generated pdf will look like this

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the provided markdown cell in an .ipynb, using the weasyprint engine and PDF format. Compare the generated PDF with the source text and confirm that the number renders normally rather than in the reported corrupted layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100