mirror of https://github.com/freeCodeCamp/devdocs
parent
e68269b3f4
commit
63dd3dce70
@ -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