History

Fix markdown, I did not needed to modified its release version

MasterEnoc committed 6 years ago

Commit 5dfdd5a1 parent 4ab95dc1 file · +1 −3Browse files

Unified · Split

lib/docs/scrapers/markdown.rb+1−3
@@ -2,7 +2,6 @@ module Docs · 1 unmodified line
22 class Markdown < UrlScraper
33 self.name = 'Markdown'
44 self.type = 'simple'
5− self.release = '1.0.1'
65 self.base_url = 'https://daringfireball.net/projects/markdown/syntax'
76
87 html_filters.push 'markdown/clean_html', 'markdown/entries'
@@ -16,8 +15,7 @@ module Docs · 7 unmodified lines
1615 HTML
1716
1817 def get_latest_version(opts)
19− doc = fetch_doc('http://daringfireball.net/projects/markdown', opts)
20− doc.at_css('.article p a').content.scan(/\d\.\d*\.*\d*\.*\d*\.*/)[0]
18+ '1.0.0'
2119 end
2220 end
2321 end