Skip to content
Browse files

Fixed #19302: tables not displayed correctly in ezoe

  • Loading branch information...
1 parent f3e65d5 commit e118bd28fc04c906779896e70ee91dd3bbef989e @dpobel dpobel committed Apr 18, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 design/standard/templates/ezoe/tag_table.tpl
  2. +1 −1 ezxmltext/handlers/input/ezoexmlinput.php
View
2 design/standard/templates/ezoe/tag_table.tpl
@@ -48,7 +48,7 @@ tinyMCEPopup.onInit.add( eZOEPopupUtils.BIND( eZOEPopupUtils.init, window, {
}
else
{
- html += '<td><br data-mce-bogus="1"/></td>';
+ html += '<td><p><br data-mce-bogus="1"/></p></td>';
}
}
View
2 ezxmltext/handlers/input/ezoexmlinput.php
@@ -1509,7 +1509,7 @@ function &inputTagXML( &$tag, $currentSectionLevel, $tdSectionLevel = null )
{
// tinymce has some issues with empty content in some browsers
if ( self::browserSupportsDHTMLType() != 'Trident' )
- $cellContent = '<br data-mce-bogus="1" />';
+ $cellContent = '<p><br data-mce-bogus="1"/></p>';
}
if ( $tableCell->nodeName === 'th' )
{

0 comments on commit e118bd2

Please sign in to comment.
Something went wrong with that request. Please try again.