Davide Pippa <[email protected]> writes:

> Hi!
> I'm a novice snap / haskell user, I'm trying to use Heist with a template 
> that includes some javascript code; my problem is that
> when the page is rendered, Heist "rewrites" the page changing quotes (") into 
> 'quot ...even in javascript code, that is included
> into <script> tags. Is there some way to workaround that?
> Thanks!

Unfortunately not as of right now. Heist templates are forced to be
valid xhtml because of the parser we are using; if someone gets around
to writing an HTML5 parser for Haskell we would switch to it
immediately.

For now the workaround is to put your javascript in .js files, sorry.

G
-- 
Gregory Collins <[email protected]>
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to