-
Notifications
You must be signed in to change notification settings - Fork 166
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
<<Video ..., auto=true>>
to auto-play inline video (GIF style)
#442
Conversation
…le). - Using the `="true"` work-around as in gollum#430. - The change in `sanitization.rb` further addresses gollum/gollum#1587 by allowing more of the standard video properties. - Also featured: less escaping, capitalisation fix.
(Closed and reopened to trigger test run.) Thanks @aljungberg and sorry for the very slow reply. These additions and changes make sense to me. Could you just update the test expectations (see CI test runs) and add an expectation for the new autoplay property? It would also be greatly appreciated if you could update the wiki to include the new feature! |
Thanks for reviewing! I've made the changes and included the feature in the wiki. |
Thanks again! Sadly it looks like the JRuby tests fail because the markdown parser on JRuby generates |
Hmm I’m not sure, isn’t the regex a find rather than a match? It feels like the first test should have failed the same way if extra
|
Ah, you're right about the location of the problem! It seems that jruby-9.4.0.0 :004 > CGI.escapeHTML("/Uploads/file<script>.mp4")
=> "/Uploads/file<script>.mp4" |
Yep works for me! Pushed. |
Thanks for your effort! |
="true"
work-around as in Don't sanitize controls attribute #430.sanitization.rb
further addresses Video controls removed gollum#1587 by allowing more of the standard video properties.