We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b9379d commit e77fde8Copy full SHA for e77fde8
Gemfile.lock
@@ -9,7 +9,7 @@ GEM
9
highlight (1.1.3)
10
activesupport (>= 2.0.0)
11
multi_json (1.0.4)
12
- nokogiri (1.4.4)
+ nokogiri (1.5.0)
13
rack (1.2.1)
14
rdiscount (1.6.8)
15
lib/toc.rb
@@ -68,7 +68,7 @@ def root
68
69
def text
70
node.
71
- inner_html.
+ inner_html({ :encoding => 'US-ASCII' }).
72
gsub(/<[^>]+>/, '').
73
sub(/\([^\)]+\)/, '()')
74
end
0 commit comments