[Git][noosfero/noosfero][master] 2 commits: correct data-webversions double escape
Rodrigo Souto
gitlab at mg.gitlab.com
Fri Jun 16 16:08:54 BRT 2017
Rodrigo Souto pushed to branch master at Noosfero / noosfero
Commits:
9662b6f5 by Aurélio A. Heckert at 2017-06-16T11:03:11-03:00
correct data-webversions double escape
- - - - -
94d211b5 by Rodrigo Souto at 2017-06-16T19:08:39+00:00
Merge branch 'video-data-webversions' into 'master'
correct data-webversions double escape
See merge request !1242
- - - - -
1 changed file:
- plugins/html5_video/views/content_viewer/video_channel.html.erb
Changes:
=====================================
plugins/html5_video/views/content_viewer/video_channel.html.erb
=====================================
--- a/plugins/html5_video/views/content_viewer/video_channel.html.erb
+++ b/plugins/html5_video/views/content_viewer/video_channel.html.erb
@@ -45,7 +45,7 @@
{
'data-poster' => f.image_preview(:big),
'data-download' => f.public_filename,
- 'data-webversions' => CGI::escapeHTML(f.web_versions!.to_json),
+ 'data-webversions' => CGI::escapeHTML(f.web_versions!.to_json).html_safe,
:style => "background-image:url(#{f.image_preview(:big)})"
}) %>
<ul>
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/d50465f6267916874305e5909ffb5db8e7e4a9c5...94d211b59e681a00a3590e5d11714d10b351c901
---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/d50465f6267916874305e5909ffb5db8e7e4a9c5...94d211b59e681a00a3590e5d11714d10b351c901
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170616/c0e9420c/attachment.html>
More information about the Noosfero-dev
mailing list