carpentries / carpentries/pegboard
[transformation] alt text with both single and double quotes has double-escaped double quotes
- Dominant language
- R
- Stars
- 6
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
``` r
tmp <- withr::local_tempfile()
writeLines(c(""), tmp)
pegboard::Episode$new(tmp)$use_sandpaper()$show()
#> ---
#> ~
#> ---
#>
#> {alt="\\"data\\" is a 3 by 3 numpy 'array'"}
```
Created on 2023-03-28 with [reprex v2.0.2](https://reprex.tidyverse.org)
Contributor guide
Research direction
Start with the reproducible R example using pegboard::Episode$new(tmp)$use_sandpaper()$show(), then trace the transformation of the image alt text containing both quote types. Done means the transformed output preserves the intended single and double quotes without double-escaping the double quotes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- content
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100