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