devcenter 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,8 +26,8 @@
26
26
  <input name="_method" type="hidden" value="put">
27
27
  <input type="hidden" name="article[title]" value="<%= @article.metadata.title %>">
28
28
  <input type="hidden" name="article[markdown_flavour]" value="<%= @article.metadata.markdown_flavour %>">
29
- <textarea style="display:none1" name="article[content]">
30
- <%= @article.content.to_s.lstrip %>
29
+ <textarea style="display:none" name="article[content]">
30
+ <%= CGI.escapeHTML(@article.content.to_s.lstrip) %>
31
31
  </textarea>
32
32
  <input type="submit" value="Save in Dev Center">
33
33
  </form>
@@ -1,3 +1,3 @@
1
1
  module Devcenter
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devcenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-05-21 00:00:00.000000000 Z
13
+ date: 2013-05-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: listen