Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The HTML entity "≤" displays as garbled characters. #2830

Open
TransonQ opened this issue Jul 26, 2024 · 0 comments
Open

The HTML entity "≤" displays as garbled characters. #2830

TransonQ opened this issue Jul 26, 2024 · 0 comments

Comments

@TransonQ
Copy link

Describe the bug
The HTML entity "≤" displays as garbled characters.

To Reproduce
Steps to reproduce the behavior including code snippet (if applies):

  1. <Text>&le;</Text> not work
  2. <Text>&lt;</Text> worked

You can make use of react-pdf REPL to share the snippet
https://react-pdf.org/repl?code=3187b0760ce02e00408a057025803c450298c0bc300500943807cf805030c00f0022230080b6198531165d400a02180e659a004f003619b006f61622003a0046200099080beed3a7320121b55002a1851b006462037252411298743003b88004e01aca807a43c6366987bbd4c44a12d289cdc30953d037cb5353d78057d3ce8199959d809ccc8c800c5c0a1659c30f9ad319cf0243800cc791890448400b86001c801e4201c7844955a006838219d805b5a002ca0a0001c209a3c3daa0ae4f9a078a091816541183c203c40ba7a943c00dc011801983c013401f5f401a400d400d840003801d4414fe401549497461dc001a004e1e00104a1b229b555a645516472a0482c1a4181b2e000ca505106071e30c0610ac062bac30950e228542d2aa69a63c2512890603e3e840d316a5c00ac834673359ec8010ba0a020460b55efc8e250992cb65f000122e24000bc0a3d1e6cb28aa015225164001286078c02817068b9228b094180a95110a8741603cc414500000

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser : chrome
  • React-pdf version : 3.4.4
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

No branches or pull requests

1 participant