iye 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "iye"
3
- s.version = "1.0.1"
4
- s.date = "2012-10-03"
3
+ s.version = "1.0.2"
4
+ s.date = "2013-11-12"
5
5
  s.summary = "I18n Yaml Editor"
6
6
  s.email = "hv@firmafon.dk"
7
7
  s.homepage = "http://github.com/firmafon/iye"
@@ -2,7 +2,7 @@
2
2
  <% categories.each do |name, category| %>
3
3
  <tr class="category <%= "incomplete" unless category.complete? %>">
4
4
  <td class="key">
5
- <a class="text" href="/?filters[key]=^<%= category.name %>"><%= category.name %></a>
5
+ <a class="text" href="/?filters[key]=<%= Rack::Utils.escape("^#{category.name}") %>"><%= category.name %></a>
6
6
  </td>
7
7
  </tr>
8
8
  <% end %>
@@ -19,7 +19,7 @@
19
19
  <td class="locale"><%= translation.locale %>:</td>
20
20
  <td class="value">
21
21
  <% if translation.text.nil? || translation.text.is_a?(String) %>
22
- <input type="text" name="translations[<%= translation.name %>]" value="<%= translation.text %>" />
22
+ <input type="text" name="translations[<%= translation.name %>]" value="<%= Rack::Utils.escape_html translation.text %>" />
23
23
  <% else %>
24
24
  [read only]
25
25
  <%= translation.text.class.name %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iye
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-03 00:00:00.000000000 Z
12
+ date: 2013-11-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cuba
@@ -120,3 +120,4 @@ test_files:
120
120
  - test/unit/test_store.rb
121
121
  - test/unit/test_transformation.rb
122
122
  - test/unit/test_translation.rb
123
+ has_rdoc: