Commit 37096d03406c786c2620f4113e889150c58ea492
1 parent
12e28e82
Exists in
master
and in
29 other branches
correct bad html generation
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
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 | ... | ... |