Mange / roadie

Making HTML emails comfortable for the Ruby rockstars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ampersands / url parameters being html encoded

matthewling opened this issue · comments

Hi Guys, great work on this gem. I was wondering if it it's desired behaviour to have url parameters encoded which are hrefs within a html email. Is there a handy way to supress this and just to make use of the css inlining?

For illustration when running a test with the roadie gem bundled a url will look like:

http://domain.com?param1=value1&param2=value2

and without the roadie gem:

http://domain.com?param1=value1&param2=value2

Thanks!

Hi!
Having ampersands in a href attribute is invalid HTML, so they should be escaped in all cases.
Did I misunderstand you?

Hi, yeah just revising how that should be (http://mrcoles.com/blog/how-use-amersands-html-encode/) and saw that too ... sorry definitely my bad ... closed this ...embarrassing ... ;) Thanks for the reply!