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

Error escaping raw strings inside html #96

Open
eko234 opened this issue Jan 20, 2022 · 2 comments
Open

Error escaping raw strings inside html #96

eko234 opened this issue Jan 20, 2022 · 2 comments

Comments

@eko234
Copy link

eko234 commented Jan 20, 2022

Hi, I'm running into an issue, I know it's not the 'right' way to do it, but I need to do it this way, I'm serving some pages with joy, and I'm embeding js and css inside the html generated trough the "dsl" that joy provides, the issue is that it seems to have issues escaping certain characters, for isntance, the single quotes get to the response as &#x27.

Hope you can help me out, thanks for you work!

@eko234
Copy link
Author

eko234 commented Jan 20, 2022

To be more specific I'm trying to declare in my style tags a font family, 'Open Sans'

@swlkr
Copy link
Collaborator

swlkr commented Jan 23, 2022

You could try the raw function, or maybe modify it somehow, raw shouldn't escape anything

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

2 participants