File tree Expand file tree Collapse file tree 5 files changed +10
-8
lines changed
app/code/Magento/Sales/view/adminhtml/templates Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 24
24
<dt><?= $ block ->escapeHtml ($ _option ['label ' ]) ?> :</dt>
25
25
<dd>
26
26
<?php if (isset ($ _option ['custom_view ' ]) && $ _option ['custom_view ' ]) : ?>
27
- <?= $ block ->escapeHtml ( $ block -> getCustomizedOptionValue ($ _option) ) ?>
27
+ <?= /* @noEscape */ $ block ->getCustomizedOptionValue ($ _option ) ?>
28
28
<?php else : ?>
29
29
<?php $ _option = $ block ->getFormattedOption ($ _option ['value ' ]); ?>
30
30
<?php $ dots = 'dots ' . uniqid (); ?>
Original file line number Diff line number Diff line change 7
7
/** @var $block \Magento\Sales\Block\Adminhtml\Order\Create\Form\Account */
8
8
?>
9
9
10
- <div class="admin__page-section-title <?= $ block ->escapeHtmlAttr ( $ block -> getHeaderCssClass () ) ?> ">
10
+ <div class="admin__page-section-title <?= /* @noEscape */ $ block ->getHeaderCssClass () ?> ">
11
11
<span class="title"><?= $ block ->escapeHtml ($ block ->getHeaderText ()) ?> </span>
12
12
<div class="actions"></div>
13
13
</div>
Original file line number Diff line number Diff line change 46
46
endif ; ?>
47
47
48
48
<fieldset class="admin__fieldset">
49
- <legend class="admin__legend <?= $ block ->escapeHtmlAttr ( $ block -> getHeaderCssClass () ) ?> ">
49
+ <legend class="admin__legend <?= /* @noEscape */ $ block ->getHeaderCssClass () ?> ">
50
50
<span><?= $ block ->escapeHtml ($ block ->getHeaderText ()) ?> </span>
51
51
</legend><br>
52
52
Original file line number Diff line number Diff line change 16
16
<?= $ block ->getChildHtml ($ _total ->getBlockName (), false ) ?>
17
17
<?php else : ?>
18
18
<tr class="col-<?= $ block ->escapeHtmlAttr ($ _code ) ?> ">
19
- <td <?= $ block ->escapeHtmlAttr ( $ block -> getLabelProperties () ) ?> class="label">
19
+ <td <?= /* @noEscape */ $ block ->getLabelProperties () ?> class="label">
20
20
<strong><?= $ block ->escapeHtml ($ _total ->getLabel ()) ?> </strong>
21
21
</td>
22
- <td <?= $ block ->escapeHtmlAttr ( $ block -> getValueProperties () ) ?> >
22
+ <td <?= /* @noEscape */ $ block ->getValueProperties () ?> >
23
23
<strong><?= /* @noEscape */ $ block ->formatValue ($ _total ) ?> </strong>
24
24
</td>
25
25
</tr>
45
45
</td>
46
46
47
47
<?php if ($ _total ->getStrong ()) : ?>
48
- <td <?= $ block ->escapeHtmlAttr ( $ block -> getValueProperties () ) ?> >
48
+ <td <?= /* @noEscape */ $ block ->getValueProperties () ?> >
49
49
<strong><?= /* @noEscape */ $ block ->formatValue ($ _total ) ?> </strong>
50
50
</td>
51
51
<?php else : ?>
52
- <td <?= $ block ->escapeHtmlAttr ( $ block -> getValueProperties () ) ?> >
52
+ <td <?= /* @noEscape */ $ block ->getValueProperties () ?> >
53
53
<span><?= /* @noEscape */ $ block ->formatValue ($ _total ) ?> </span>
54
54
</td>
55
55
<?php endif ; ?>
Original file line number Diff line number Diff line change 13
13
$ lastItemNumber = count ($ columns ) ?>
14
14
<?php foreach ($ columns as $ columnName => $ columnClass ) : ?>
15
15
<?php $ i ++; ?>
16
- <td class="<?= /* @noEscape */ $ columnClass ?> <?= /* @noEscape */ ($ i === $ lastItemNumber ? ' last ' : '' ) ?> "><?= $ block ->getColumnHtml ($ _item , $ columnName ) ?> </td>
16
+ <td class="<?= /* @noEscape */ $ columnClass ?> <?= /* @noEscape */ ($ i === $ lastItemNumber ? ' last ' : '' ) ?> ">
17
+ <?= $ block ->getColumnHtml ($ _item , $ columnName ) ?>
18
+ </td>
17
19
<?php endforeach ; ?>
18
20
</tr>
You can’t perform that action at this time.
0 commit comments