weneedfeed 0.19.1 → 0.19.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46e0612e810a86e2c8019c59d8d3d50aa2780032b7645f310cc4650d19ccffd1
4
- data.tar.gz: 4c73b18a0bdc400c842f47096087a4c865e5806c16204c543305d3b746c23d29
3
+ metadata.gz: d9d31309ab79323a5636742b707b64a6c89097b04a76492dab99eb0894b4194a
4
+ data.tar.gz: 338308559267e41142e5739d4d05829a5241939882d32768b76ff5e0f8418610
5
5
  SHA512:
6
- metadata.gz: e12e2d7e233db01aff6095e2120d88a0e24eadf205442985b1d404f83f2bf0a17a907e121da3f9771db6b4ebd0685f858aa1d5c670158e77a71fc6fe0b77570e
7
- data.tar.gz: ae98d953a2f8f5007f453029bd465727794a20a19e8ac01b0ea9c8e6b4a167a101709ecce516a56c76d62d05638521ca56796f92579544aa3d64b769c48ca68e
6
+ metadata.gz: f32fa9780eb02d4c3240ff9e2fa330b7b31451808ab23b23235cf1e13746922d1a022a436a5b5cb91cf1d5c50dedc7c4aa32806fad0094c0e4841db2be36ed36
7
+ data.tar.gz: 77c4be1a945dd40aa3d332ff7729d5540e1c29fcd701a5c317b0173c000d94be01c8d8c5349715bcf1f3c9643dc00d075c37643a676613b681dac63fc2cf0c09
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 0.19.2 - 2022-08-01
11
+
12
+ ### Fixed
13
+
14
+ - Fix XML excape on OPML.
15
+
10
16
  ## 0.19.1 - 2022-08-01
11
17
 
12
18
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- weneedfeed (0.19.1)
4
+ weneedfeed (0.19.2)
5
5
  activesupport
6
6
  addressable
7
7
  builder
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Weneedfeed
4
- VERSION = '0.19.1'
4
+ VERSION = '0.19.2'
5
5
  end
@@ -1,12 +1,12 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <opml version="1.0">
3
3
  <head>
4
- <title><%= @schema.title %></title>
4
+ <title><%= @schema.title.encode(xml: :text) %></title>
5
5
  </head>
6
6
  <body>
7
- <outline text="<%= @schema.title %>" title="<%= @schema.title %>">
7
+ <outline text=<%= @schema.title.encode(xml: :attr) %> title=<%= @schema.title.encode(xml: :attr) %>>
8
8
  <% page_schemata.each do |page_schema| %>
9
- <outline type="rss" text="<%= page_schema.title %>" title="<%= page_schema.title %>" xmlUrl="<%= "#{request.base_url}#{feed_path(page_id: page_schema.id)}" %>" htmlUrl="<%= page_schema.url %>"/>
9
+ <outline type="rss" attr=<%= page_schema.title.encode(xml: :attr) %> title=<%= page_schema.title.encode(xml: :attr) %> xmlUrl="<%= "#{request.base_url}#{feed_path(page_id: page_schema.id)}" %>" htmlUrl="<%= page_schema.url %>"/>
10
10
  <% end %>
11
11
  </outline>
12
12
  </body>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weneedfeed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.1
4
+ version: 0.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura