nakajima-makers-mark 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/makers-mark/generator.rb +2 -2
- data/vendor/albino.rb +1 -1
- metadata +1 -1
@@ -18,9 +18,9 @@ module MakersMark
|
|
18
18
|
def highlight!
|
19
19
|
doc.search('div.code').each do |div|
|
20
20
|
lexer = div['rel'] || :ruby
|
21
|
-
|
21
|
+
|
22
22
|
lexted_text = Albino.new(div.text, lexer).to_s
|
23
|
-
|
23
|
+
|
24
24
|
highlighted = Nokogiri::HTML(lexted_text).at('div')
|
25
25
|
|
26
26
|
klasses = highlighted['class'].split(/\s+/)
|
data/vendor/albino.rb
CHANGED