mdoc 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mdoc/convert.rb +1 -1
- data/lib/mdoc/version.rb +1 -1
- metadata +1 -1
data/lib/mdoc/convert.rb
CHANGED
@@ -16,7 +16,7 @@ module Mdoc
|
|
16
16
|
# convert the received content
|
17
17
|
content.gsub!('<title>undefined</title>', "<title>#{title}</title>")
|
18
18
|
content.gsub!('<a href="#" id="logo">undefined</a>', "<a href='\#' id='logo'>#{title}</a>")
|
19
|
-
wfh = File.new(htmlname, 'w
|
19
|
+
wfh = File.new(htmlname, 'w')
|
20
20
|
wfh.write content
|
21
21
|
wfh.close
|
22
22
|
Launchy.open("file://" + htmlname)
|
data/lib/mdoc/version.rb
CHANGED