-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
img tags with dust variable in src attribute does not work in firefox browser #51
Comments
Need help urgently on this... Looks like a critical bug in dust for firefox. |
Identified the problem dude !!! The fix is to replace the %7B and %7D in the dust template with { and } respectively before rendering the template with JSON data. Attached below is the dust JS (dust-full-0.3.0.min.js) with the code fix - // var dust={}; The specific line where the fix is below : o.compile=function(q,j){q=q.replace(/%7B/g,"{");q=q.replace(/%7D/g,"}"); |
The text was updated successfully, but these errors were encountered: