git-svn-id: http://svn.redmine.org/redmine/trunk@18911 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.1.0
@@ -121,7 +121,6 @@ Layout/ExtraSpacing: | |||
# Configuration parameters: IndentationWidth. | |||
Layout/IndentAssignment: | |||
Exclude: | |||
- 'app/helpers/application_helper.rb' | |||
- 'test/unit/lib/redmine/helpers/gantt_test.rb' | |||
# Cop supports --auto-correct. |
@@ -1162,7 +1162,7 @@ module ApplicationHelper | |||
end | |||
LINKS_RE = | |||
%r{ | |||
%r{ | |||
<a( [^>]+?)?>(?<tag_content>.*?)</a>| | |||
(?<leading>[\s\(,\-\[\>]|^) | |||
(?<esc>!)? | |||
@@ -1199,7 +1199,7 @@ module ApplicationHelper | |||
\]| | |||
<| | |||
$) | |||
}x | |||
}x | |||
HEADING_RE = /(<h(\d)( [^>]+)?>(.+?)<\/h(\d)>)/i unless const_defined?(:HEADING_RE) | |||
def parse_sections(text, project, obj, attr, only_path, options) |