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

pull/1296/head
MasterEnoc 4 years ago
parent 4ab95dc382
commit 5dfdd5a80f

@ -2,7 +2,6 @@ module Docs
class Markdown < UrlScraper
self.name = 'Markdown'
self.type = 'simple'
self.release = '1.0.1'
self.base_url = 'https://daringfireball.net/projects/markdown/syntax'
html_filters.push 'markdown/clean_html', 'markdown/entries'
@ -16,8 +15,7 @@ module Docs
HTML
def get_latest_version(opts)
doc = fetch_doc('http://daringfireball.net/projects/markdown', opts)
doc.at_css('.article p a').content.scan(/\d\.\d*\.*\d*\.*\d*\.*/)[0]
'1.0.0'
end
end
end

Loading…
Cancel
Save