Skip to content

Commit 12e4690

Browse files
author
Hwashiang Yu
committed
MAGETWO-56444: UI-Related Modules Template Update
- Resolved static test failure - Resolved Magento function failures due to template updates
1 parent 4129100 commit 12e4690

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/code/Magento/Theme/view/frontend/templates/html/title.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $cssClass = $block->getCssClass() ? ' ' . $block->getCssClass() : '';
1313
$titleHtml = '';
1414
if (trim($block->getPageHeading())) {
1515
$titleHtml = '<span class="base" data-ui-id="page-title-wrapper" '
16-
. $block->escapeHtml($block->getAddBaseAttribute())
16+
. $block->getAddBaseAttribute()
1717
. '>'
1818
. $block->escapeHtml($block->getPageHeading())
1919
. '</span>';

app/code/Magento/Theme/view/frontend/templates/text.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ if (!empty($attr)) {
1111
$attributes .= ' ' . $attribute . '="' . $value . '"';
1212
}
1313
}
14-
echo
14+
?>
15+
<?=
1516
'<'
1617
. $block->escapeHtml($block->getTag())
1718
. $block->escapeHtml($attributes)
@@ -20,3 +21,4 @@ echo
2021
. '</'
2122
. $block->escapeHtml($block->getTag())
2223
. '>';
24+
?>

0 commit comments

Comments
 (0)