lib/ctioga2/commands/doc/html.rb in ctioga2-0.12 vs lib/ctioga2/commands/doc/html.rb in ctioga2-0.13
- old
+ new
@@ -142,10 +142,10 @@
# end
# Strip links from the line
ln.gsub!(/<a[^>]+>(.*?)<\/a>/) { || $1 }
str += "<pre class='#{s[:cls]}'><a href='#{k}'>#{ln}</a></pre>\n"
end
- out.puts "<h5 id='#snippets-h5-#{cmd.name}' onclick='toggleExamples(this);'>Examples...</h5>\n<div id='#snippets-#{cmd.name}' class='snippets'>#{str}</div>"
+ out.puts "<h5 id='snippets-h5-#{cmd.name}' onclick='toggleExamples(this);'>Examples...</h5>\n<div id='snippets-#{cmd.name}' class='snippets'>#{str}</div>"
end
end
end
end
end