html_spellchecker 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/html_spellchecker.rb +1 -1
  2. metadata +3 -3
@@ -56,7 +56,7 @@ class Nokogiri::XML::Text
56
56
 
57
57
  def spellcheck(dict)
58
58
  to_xhtml(:encoding => 'UTF-8').gsub(WORDS_REGEXP) do |word|
59
- dict.check(word) ? word : "<mark class=\"misspelled\">#{word}</mark>"
59
+ dict.check(word) ? word : "<span class=\"misspelled\">#{word}</span>"
60
60
  end
61
61
  end
62
62
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_spellchecker
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bruno Michel