joy icon indicating copy to clipboard operation
joy copied to clipboard

Error escaping raw strings inside html

Open eko234 opened this issue 2 years ago • 2 comments

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 avatar Jan 20 '22 13:01 eko234

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

eko234 avatar Jan 20 '22 13:01 eko234

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

swlkr avatar Jan 23 '22 03:01 swlkr