Skip to content

Fix HTML entities. - #91

Merged
thomasp85 merged 2 commits into
r-lib:mainfrom
clauswilke:html-entities
Nov 10, 2026
Merged

thomasp85 merged 2 commits into
r-lib:mainfrom
clauswilke:html-entities

Conversation

@clauswilke

Copy link
Copy Markdown
Contributor

This closes #89. HTML entities now work.

library(marquee)

cat(marquee_parse("- -")$text[2])
#> - -
cat("-\u00A0-") # correct code for non-breaking space
#> - -

cat(marquee_parse("->-")$text[2])
#> ->-
cat("-\u003E-") # correct code for > sign
#> ->-

cat(marquee_parse("-𝔄-")$text[2])
#> -𝔄-
cat("-\uD835\uDD04-") # correct code for capital A fractur
#> -𝔄-

Created on 2025-09-19 with reprex v2.1.1

@clauswilke

Copy link
Copy Markdown
Contributor Author

Apologies for accidentally committing an R project file. Let me know if I should remove it.

@clauswilke clauswilke mentioned this pull request Dec 11, 2025
@thomasp85
thomasp85 merged commit 484051d into r-lib:main Nov 10, 2026
10 of 13 checks passed
thomasp85 pushed a commit to t-kalinowski/marquee that referenced this pull request Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTML entities are incorrectly encoded

2 participants