Remove comments in Jasmine's clean_html filter

pull/1704/head
Enoc 3 years ago
parent 8507118e2c
commit 74352f805a

@ -4,18 +4,6 @@ module Docs
def call
@doc = at_css('.docs') unless root_page?
# css('header', 'article', 'section:not([class])', 'div.description').each do |node|
# node.before(node.children).remove
# end
# css('h3.subsection-title').each do |node|
# node.name = 'h2'
# end
# css('h4.name').each do |node|
# node.name = 'h3'
# end
css('pre').each do |node|
node.content = node.content
node['data-language'] = 'javascript'

Loading…
Cancel
Save