fix double escape for tags in share buttons
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
var addthis_config = {"data_track_addressbar": false};
|
||||
var addthis_share = {
|
||||
"url":"<%= j post_path(post, :only_path => false, :host => Danbooru.config.hostname) %>",
|
||||
"title": "<%= '#r_18 ' unless post.rating == 's' %><%= j post.presenter.humanized_essential_tag_string %>"
|
||||
"title": "<%= '#r_18 ' unless post.rating == 's' %><%= escape_javascript post.presenter.humanized_essential_tag_string.html_safe %>"
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f8dbf8a41066ac7"></script>
|
||||
|
||||
Reference in New Issue
Block a user