mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
qunit: remove wrapping <article>
This commit is contained in:
parent
a2f8678648
commit
8a2e4761c8
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ module Docs
|
|||
class Qunit
|
||||
class CleanHtmlFilter < Filter
|
||||
def call
|
||||
@doc = at_css('.content[role="main"]')
|
||||
@doc = at_css('.content[role="main"] > article')
|
||||
css('.sidebar').remove
|
||||
css('pre').each do |node|
|
||||
node['data-language'] = 'javascript'
|
||||
|
|
Loading…
Reference in a new issue