summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-08-12 07:42:12 +0000
committerGo MAEDA <maeda@farend.jp>2024-08-12 07:42:12 +0000
commitde76bb3a4a00146f8d53dbc25f2e90ca99910a22 (patch)
tree9927c2a114ec980e8c0584f615754db0ea2d0162 /lib/redmine/wiki_formatting
parent0c28b0974adb3d9f777fbf0cc9234b1a7de144bf (diff)
downloadredmine-de76bb3a4a00146f8d53dbc25f2e90ca99910a22.tar.gz
redmine-de76bb3a4a00146f8d53dbc25f2e90ca99910a22.zip
Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/wiki_formatting')
-rw-r--r--lib/redmine/wiki_formatting/html_parser.rb1
-rw-r--r--lib/redmine/wiki_formatting/markdown/html_parser.rb1
-rw-r--r--lib/redmine/wiki_formatting/textile/html_parser.rb1
3 files changed, 0 insertions, 3 deletions
diff --git a/lib/redmine/wiki_formatting/html_parser.rb b/lib/redmine/wiki_formatting/html_parser.rb
index 8db5fe4d8..ff40cbb6b 100644
--- a/lib/redmine/wiki_formatting/html_parser.rb
+++ b/lib/redmine/wiki_formatting/html_parser.rb
@@ -22,7 +22,6 @@ require 'loofah/helpers'
module Redmine
module WikiFormatting
class HtmlParser
-
class_attribute :tags
self.tags = {
'br' => {:post => "\n"},
diff --git a/lib/redmine/wiki_formatting/markdown/html_parser.rb b/lib/redmine/wiki_formatting/markdown/html_parser.rb
index 4e2217926..6e16126d9 100644
--- a/lib/redmine/wiki_formatting/markdown/html_parser.rb
+++ b/lib/redmine/wiki_formatting/markdown/html_parser.rb
@@ -21,7 +21,6 @@ module Redmine
module WikiFormatting
module Markdown
class HtmlParser < Redmine::WikiFormatting::HtmlParser
-
self.tags = tags.merge(
'b' => {:pre => '**', :post => '**'},
'strong' => {:pre => '**', :post => '**'},
diff --git a/lib/redmine/wiki_formatting/textile/html_parser.rb b/lib/redmine/wiki_formatting/textile/html_parser.rb
index 531fcd4b7..fdda5b6ad 100644
--- a/lib/redmine/wiki_formatting/textile/html_parser.rb
+++ b/lib/redmine/wiki_formatting/textile/html_parser.rb
@@ -21,7 +21,6 @@ module Redmine
module WikiFormatting
module Textile
class HtmlParser < Redmine::WikiFormatting::HtmlParser
-
self.tags = tags.merge(
'b' => {:pre => '*', :post => '*'},
'strong' => {:pre => '*', :post => '*'},