Fix indentation bug

pull/800/head
Jed Fox 7 years ago
parent a09fe4b793
commit f87af5bf66

@ -9,7 +9,7 @@ module Docs
css('.highlight > pre').each do |node|
node['data-language'] = node.parent['class'][/highlight-source-(\w+)/, 1]
node.content = node.content.strip_heredoc.gsub(' ', ' ')
node.content = node.content.strip_heredoc
node.parent.replace(node)
end

Loading…
Cancel
Save