mirror of https://github.com/freeCodeCamp/devdocs
Merge pull request #2341 from thewheat/fix-cordova-indents
Fix Cordova indents with new clean html optionpull/2334/merge
commit
1da0de920a
@ -0,0 +1,11 @@
|
||||
module Docs
|
||||
class Cordova
|
||||
class CleanHtmlCoreFilter < Filter
|
||||
def call
|
||||
css('script', 'style', 'link').remove
|
||||
xpath('descendant::comment()').remove
|
||||
doc
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in new issue