sterile 1.0.7 → 1.0.8

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
  SHA1:
3
- metadata.gz: bc5245bb4cca4e195f4d50fdf4690b179b82bdb2
4
- data.tar.gz: 275bf394ec503b7c502bc2399d690620ef7ba9ef
3
+ metadata.gz: b2f042650b1fe376b2e1aa47f3861e6fba7f8552
4
+ data.tar.gz: 1bb075c81285d195e2c99812909e4996c6761c9d
5
5
  SHA512:
6
- metadata.gz: b67423da47e955a675b5430fcd8913acf44dfa0cf10a08cc4eb4cbeaa2820766256837196ba2102794f2517275a1239c073b13052bb4782fc965de2800507805
7
- data.tar.gz: 716bdd4b9b6f410c6e1c57362f52954bdc8eb36226e3548dd2b4f15528571d9bda4f3469c25a745c9b3f9d9c7c7d06be439d5302658389c645b870ca5eabd33b
6
+ metadata.gz: d7c98586aa3420f5e61017457e456c5cec05d54a7706ba3b6c99564f3d16dcf9c334b37390bf6521d2bcce4a052a50c71c5f6168e519a47ea86c963366196416
7
+ data.tar.gz: 4f6e67103cea8a4b94c56a50d251222219cc5d2ddab40ef01286ad0c3857963ac2777adc1395d44e16f07cde3d15b8466f35245bfc01b23d8119045dc4ece012
@@ -21,7 +21,7 @@ module Sterile
21
21
  def smart_format_tags(string)
22
22
  string.gsub_tags do |text|
23
23
  text.smart_format
24
- end.encode_entities
24
+ end.encode_entities.gsub(/(\S)“/, "\\1”").gsub(/(\S)‘/, "\\1’")
25
25
  end
26
26
 
27
27
 
@@ -1,6 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module Sterile
4
- VERSION = "1.0.7"
4
+ VERSION = "1.0.8"
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sterile
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Hogan