makers-mark 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/makers-mark/generator.rb +1 -1
- metadata +1 -1
@@ -38,7 +38,7 @@ module MakersMark
|
|
38
38
|
logger.info "WRITING!"
|
39
39
|
t = BlueCloth.new(@markdown.dup).to_html
|
40
40
|
t.gsub!(/^(?:<p>)?@@@(?:<\/p>)?$/, '</div>')
|
41
|
-
t.gsub!(/^(?:<p>)?@@@\s*(\w+)(?:<\/p>)?$/, '<div class="code" rel="\1">')
|
41
|
+
t.gsub!(/^(?:<p>)?@@@\s*([\w\+]+)(?:<\/p>)?$/, '<div class="code" rel="\1">')
|
42
42
|
t
|
43
43
|
end
|
44
44
|
end
|