gollum-lib 5.2.1 → 5.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +5 -0
- data/Rakefile +1 -1
- data/lib/gollum-lib/macro/audio.rb +1 -1
- data/lib/gollum-lib/macro/video.rb +1 -1
- data/lib/gollum-lib/markup.rb +1 -1
- data/lib/gollum-lib/sanitization.rb +1 -0
- data/lib/gollum-lib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39710261c63c5c6a12402b640c5fb71a5c302c18f39df575e2127b5eebb67be3
|
4
|
+
data.tar.gz: 8f7f128aeeb398dc199130c2f0dad1e5006d9fedf59c772225a41f1287c65552
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3618878e7eabe6955e9fa83e968dac8087b9990ba5566f263c4d89dbd2d0b44689fe8abc145aa6286c654e531d6df2ee6b6d984f3c738663bb58ab19e75a3047
|
7
|
+
data.tar.gz: 4c34de87bd2b06d653c0e2dfea5bd013602c2c6b24e95611eff479e848ba389ef501c9bd44e860ea7b1c06cd262dbe974e132f85b86e742eb23e1d316d5433df
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# 5.2.1 / 2022-09-13
|
2
|
+
|
3
|
+
* Fixed: 'controls' attribute in audio and video tags should not be sanitized. #430 (@dometto)
|
4
|
+
|
5
|
+
|
1
6
|
# 5.2 / 2022-05-28
|
2
7
|
|
3
8
|
* Conditionally render "editable" heading classes. Resolves https://github.com/gollum/gollum/issues/1785 (@benjaminwil)
|
data/Rakefile
CHANGED
@@ -126,7 +126,7 @@ task :release => :build do
|
|
126
126
|
Rake::Task[:changelog].execute
|
127
127
|
sh "git commit --allow-empty -a -m 'Release #{version}'"
|
128
128
|
sh "git pull --rebase origin master"
|
129
|
-
sh "git tag v#{version}"
|
129
|
+
sh "git tag -n v#{version}"
|
130
130
|
sh "git push origin master"
|
131
131
|
sh "git push origin v#{version}"
|
132
132
|
sh "gem push pkg/#{name}-#{version}.gem"
|
@@ -2,7 +2,7 @@ module Gollum
|
|
2
2
|
class Macro
|
3
3
|
class Audio < Gollum::Macro
|
4
4
|
def render (fname)
|
5
|
-
"<audio width=\"100%\" height=\"100%\" src=\"#{CGI::escapeHTML(fname)}\" controls=\"\"> HTML5 audio is not supported on this Browser.</audio>"
|
5
|
+
"<audio width=\"100%\" height=\"100%\" src=\"#{CGI::escapeHTML(fname)}\" controls=\"true\"> HTML5 audio is not supported on this Browser.</audio>"
|
6
6
|
end
|
7
7
|
end
|
8
8
|
end
|
@@ -2,7 +2,7 @@ module Gollum
|
|
2
2
|
class Macro
|
3
3
|
class Video < Gollum::Macro
|
4
4
|
def render (fname)
|
5
|
-
"<video width=\"100%\" height=\"100%\" src=\"#{CGI::escapeHTML(fname)}\" controls=\"\"> HTML5 video is not supported on this Browser.</video>"
|
5
|
+
"<video width=\"100%\" height=\"100%\" src=\"#{CGI::escapeHTML(fname)}\" controls=\"true\"> HTML5 video is not supported on this Browser.</video>"
|
6
6
|
end
|
7
7
|
end
|
8
8
|
end
|
data/lib/gollum-lib/markup.rb
CHANGED
@@ -23,7 +23,7 @@ module Gollum
|
|
23
23
|
class << self
|
24
24
|
|
25
25
|
def to_xml_opts
|
26
|
-
{ :save_with => Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML
|
26
|
+
{ :save_with => Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML & (~Nokogiri::XML::Node::SaveOptions::FORMAT), :indent => 0, :encoding => 'UTF-8' }
|
27
27
|
end
|
28
28
|
|
29
29
|
# Only use the formats that are specified in config.rb
|
data/lib/gollum-lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.2.
|
4
|
+
version: 5.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gollum-rugged_adapter
|
@@ -469,7 +469,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
469
469
|
- !ruby/object:Gem::Version
|
470
470
|
version: '0'
|
471
471
|
requirements: []
|
472
|
-
rubygems_version: 3.2.
|
472
|
+
rubygems_version: 3.2.32
|
473
473
|
signing_key:
|
474
474
|
specification_version: 4
|
475
475
|
summary: A simple, Git-powered wiki.
|