joy-framework / joy

A full stack web framework written in janet

Home Page:https://joy.swlkr.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error escaping raw strings inside html

eko234 opened this issue · comments

commented

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!

commented

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

commented

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