Commit f6596bf9fc39698a6a1ecaf96715b50e24393d39

Authored by Aurélio A. Heckert
Committed by Rodrigo Souto
1 parent 4c76fa8e

correct br tags

app/helpers/profile_editor_helper.rb
@@ -136,7 +136,7 @@ module ProfileEditorHelper @@ -136,7 +136,7 @@ module ProfileEditorHelper
136 concat( 136 concat(
137 content_tag( 137 content_tag(
138 'div', 138 'div',
139 - capture(&block) + content_tag('br', '', :style => 'clear: left'), 139 + capture(&block) + tag('br', :style => 'clear: left'),
140 :class => 'control-panel') 140 :class => 'control-panel')
141 ) 141 )
142 end 142 end
app/models/profile_list_block.rb
@@ -54,7 +54,7 @@ class ProfileListBlock < Block @@ -54,7 +54,7 @@ class ProfileListBlock < Block
54 list = content_tag 'ul', nl +' '+ list + nl 54 list = content_tag 'ul', nl +' '+ list + nl
55 end 55 end
56 block_title(title) + nl + 56 block_title(title) + nl +
57 - content_tag('div', nl + list + nl + content_tag('br', '', :style => 'clear:both')) 57 + content_tag('div', nl + list + nl + tag('br', :style => 'clear:both'))
58 end 58 end
59 end 59 end
60 60