berk / tr8n

This repository has moved to:
https://github.com/tr8n/tr8n
MIT License
280 stars 37 forks source link

JS getting ampersand-escaped #55

Open alxndr opened 11 years ago

alxndr commented 11 years ago

I'm trying to add tr8n to an existing app, but on the /tr8n page the Javascript that sets up each Tr8n::Config.default_shortcuts is getting all its apostrophes HTML-encoded to ', which of course breaks the JS. The content area just shows the word "empty". Using disable_tr8n_js in the URL leaves out that escaped JS, but still just shows "empty". Any idea what's going on?