History

Add Koa

Jed Fox committed 8 years ago

Commit b97cfa61 parent b4cd5f17 files · +116 −-1Browse files

Showing the changes to lib/docs/filters/github (1 of 7 files). Show all

Unified · Split

lib/docs/filters/github/clean_html.rb+1−1
@@ -9,7 +9,7 @@ module Docs · 8 unmodified lines
9 9
10 css('.highlight > pre').each do |node|10 css('.highlight > pre').each do |node|
11 node['data-language'] = node.parent['class'][/highlight-source-(\w+)/, 1]11 node['data-language'] = node.parent['class'][/highlight-source-(\w+)/, 1]
12 node.content = node.content.strip_heredoc.gsub(' ', ' ')12 node.content = node.content.strip_heredoc
13 node.parent.replace(node)13 node.parent.replace(node)
14 end14 end
15 15