html-pipeline 0.0.5 → 0.0.6

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.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
- ## 0.0.5 (unreleased)
3
+ ## 0.0.6
4
+
5
+ * don't mutate markdown strings: jakedouglas #32
6
+
7
+ ## 0.0.5
4
8
 
5
9
  * fix li xss vulnerability in sanitization filter: vmg #31
6
10
  * gemspec cleanup: nbibler #23, jbarnette #24
@@ -13,7 +13,7 @@ module HTML
13
13
  class MarkdownFilter < TextFilter
14
14
  def initialize(text, context = nil, result = nil)
15
15
  super text, context, result
16
- @text.gsub! "\r", ''
16
+ @text = @text.gsub "\r", ''
17
17
  end
18
18
 
19
19
  # Convert Markdown to HTML using the best available implementation
@@ -1,5 +1,5 @@
1
1
  module HTML
2
2
  class Pipeline
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-pipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
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: 2012-12-10 00:00:00.000000000 Z
13
+ date: 2012-12-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: gemoji