blakeembrey / dombars

*DEPRECATED* DOM-based templating library with data-binding and built on Handlebars
MIT License
51 stars 5 forks source link

special char escape issues #36

Closed th3fallen closed 10 years ago

th3fallen commented 10 years ago

Got another issue for ya. I'm attempting to output a string like this

href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=<?php echo get_permalink(); ?>&text={{twitter_message}}">

the twitter_message is I'm John-Boy Walton on the Which Walton Are You quiz from @insp! Who are you?

but your escape method you have is converting the already special char encoded ' from ' to &#039; which is wreaking havoc is there a way to disable escaping for a single string or am i just doing something wrong?

th3fallen commented 10 years ago

nevermind the solution was to do {{{twitter_message}}}