From f6596bf9fc39698a6a1ecaf96715b50e24393d39 Mon Sep 17 00:00:00 2001 From: Aurélio A. Heckert Date: Fri, 31 May 2013 15:22:37 -0300 Subject: [PATCH] correct br tags --- app/helpers/profile_editor_helper.rb | 2 +- app/models/profile_list_block.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/profile_editor_helper.rb b/app/helpers/profile_editor_helper.rb index 9479418..f76f29b 100644 --- a/app/helpers/profile_editor_helper.rb +++ b/app/helpers/profile_editor_helper.rb @@ -136,7 +136,7 @@ module ProfileEditorHelper concat( content_tag( 'div', - capture(&block) + content_tag('br', '', :style => 'clear: left'), + capture(&block) + tag('br', :style => 'clear: left'), :class => 'control-panel') ) end diff --git a/app/models/profile_list_block.rb b/app/models/profile_list_block.rb index d5f8e91..4316c90 100644 --- a/app/models/profile_list_block.rb +++ b/app/models/profile_list_block.rb @@ -54,7 +54,7 @@ class ProfileListBlock < Block list = content_tag 'ul', nl +' '+ list + nl end block_title(title) + nl + - content_tag('div', nl + list + nl + content_tag('br', '', :style => 'clear:both')) + content_tag('div', nl + list + nl + tag('br', :style => 'clear:both')) end end -- libgit2 0.21.2