mirror of https://github.com/freeCodeCamp/devdocs
parent
d39f0dcd1c
commit
651f20a8f9
@ -0,0 +1,12 @@
|
|||||||
|
module Docs
|
||||||
|
class Gcc
|
||||||
|
class CleanHtmlFilter < Filter
|
||||||
|
def call
|
||||||
|
css('pre').each do |node|
|
||||||
|
node['data-language'] = 'cpp'
|
||||||
|
end
|
||||||
|
doc
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in new issue