[devdocsgjs/main: 155/239] Remove comments in Jasmine's clean_html filter
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 155/239] Remove comments in Jasmine's clean_html filter
- Date: Fri, 8 Apr 2022 07:47:39 +0000 (UTC)
commit 74352f805a1f2675a75d9f1f5b5524b374f9afb4
Author: Enoc <brianhernandez222 hotmail com>
Date: Thu Feb 10 19:22:40 2022 -0600
Remove comments in Jasmine's clean_html filter
lib/docs/filters/jasmine/clean_html.rb | 12 ------------
1 file changed, 12 deletions(-)
---
diff --git a/lib/docs/filters/jasmine/clean_html.rb b/lib/docs/filters/jasmine/clean_html.rb
index 7255a9c1..862880b2 100644
--- a/lib/docs/filters/jasmine/clean_html.rb
+++ b/lib/docs/filters/jasmine/clean_html.rb
@@ -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'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]