github-markup 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.md +4 -0
- data/lib/github/markup/version.rb +1 -1
- data/lib/github/markups.rb +1 -1
- data/test/markups/README.pod.html +2 -2
- metadata +1 -1
data/HISTORY.md
CHANGED
data/lib/github/markups.rb
CHANGED
@@ -23,6 +23,6 @@ command("/usr/bin/env pod2html", /pod/) do |rendered|
|
|
23
23
|
if rendered =~ /<body.+?>\s*(.+)\s*<\/body>/mi
|
24
24
|
`rm pod2htmd.tmp` if File.exists?('pod2htmd.tmp') rescue nil
|
25
25
|
`rm pod2htmi.tmp` if File.exists?('pod2htmi.tmp') rescue nil
|
26
|
-
$1
|
26
|
+
$1.sub('<!-- INDEX BEGIN -->', '').sub('<!-- INDEX END -->', '')
|
27
27
|
end
|
28
28
|
end
|