merb-words 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/app/controllers/pages.rb +3 -1
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ AUTHOR = 'uipoet'
8
8
  EMAIL = 'dont.tase@me.com'
9
9
  HOMEPAGE = 'http://uipoet.com/projects'
10
10
  SUMMARY = 'Word Management for Merb'
11
- GEM_VERSION = '0.1.2'
11
+ GEM_VERSION = '0.1.3'
12
12
 
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.rubyforge_project = AUTHOR
@@ -67,7 +67,9 @@ class MerbWords::Pages < MerbWords::Application
67
67
  end
68
68
 
69
69
  def update
70
- display(@page = Page.get!(params[:page_id]), :layout => false)
70
+ @page = Page.get!(params[:page_id])
71
+ @page.body = escape_xml(@page.body)
72
+ display(@page, :layout => false)
71
73
  end
72
74
 
73
75
  def update_put
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb-words
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - uipoet
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-26 00:00:00 -08:00
12
+ date: 2008-11-30 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency