Skip to content

Commit 6c5ca38

Browse files
committed
MC-42230: Fix HTML tags not properly nested/closed [MBE]
- Fixes on ASI repo
1 parent cc75fc1 commit 6c5ca38

File tree

9 files changed

+33
-33
lines changed

9 files changed

+33
-33
lines changed

AdobeStockImageAdminUi/view/adminhtml/web/template/grid/column/image-preview.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@
88
<div class="container">
99
<div class="action-buttons preview-buttons">
1010
<button class="action-previous" type="button" disable="$col.cannotViewPrevious($row())" click="$col.prev.bind($col, $row())">
11-
<span translate="'Previous'"/>
11+
<span translate="'Previous'"></span>
1212
</button>
1313
<button class="action-next" type="button" disable="$col.cannotViewNext($row())" click="$col.next.bind($col, $row())">
14-
<span translate="'Next'"/>
14+
<span translate="'Next'"></span>
1515
</button>
1616
<button class="action-close" type="button" click="$col.hide.bind($col)">
17-
<span translate="'Close'"/>
17+
<span translate="'Close'"></span>
1818
</button>
1919
</div>
2020

2121
<div class="preview-row-content">
2222
<img class="preview" attr="src: $col.displayedRecord().thumbnail_500_url, alt: $col.displayedRecord().title">
2323
<div class="info">
24-
<h3 class="title" text="$col.displayedRecord().title" if="$col.displayedRecord().title"/>
24+
<h3 class="title" text="$col.displayedRecord().title" if="$col.displayedRecord().title"></h3>
2525
<div class="author" if="$col.displayedRecord().creator_name">
26-
<span translate="'By'" /><span text="' ' + $col.displayedRecord().creator_name" />
26+
<span translate="'By'"></span><span text="' ' + $col.displayedRecord().creator_name" ></span>
2727
</div>
2828

2929
<div class="actions">
@@ -37,20 +37,20 @@ <h3 class="title" text="$col.displayedRecord().title" if="$col.displayedRecord()
3737
<div class="attributes" data-role="image-attributes-value">
3838
<each args="$col.getDisplayAttributes()">
3939
<div class="attribute">
40-
<span class="title" translate="name"/>
40+
<span class="title" translate="name"></span>
4141
<div class="value">
42-
<span text="value" />
42+
<span text="value"></span>
4343
</div>
4444
</div>
4545
</each>
4646
</div>
4747

4848
<scope args="related">
49-
<render args="getTemplate()" />
49+
<render args="getTemplate()"></render>
5050
</scope>
5151

5252
<div class="keywords-container" ko-scope="keywords">
53-
<render args="getTemplate()" />
53+
<render args="getTemplate()"></render>
5454
</div>
5555
</div>
5656
</div>

AdobeStockImageAdminUi/view/adminhtml/web/template/grid/column/overlay.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
*/
66
-->
77
<div if="$col.isVisible($row())" ko-style="$col.getStyles($row())" class="masonry-image-overlay">
8-
<span text="$col.getLabel($row())"/>
8+
<span text="$col.getLabel($row())"></span>
99
</div>

AdobeStockImageAdminUi/view/adminhtml/web/template/grid/column/preview/actions.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
</each>
1717
</ul>
1818
<button class="action-secondary" type="button" visible="!isDownloaded() && !isLicensed()" click="function(){ savePreviewClick() }">
19-
<span translate="'Save Preview'"/>
19+
<span translate="'Save Preview'"></span>
2020
</button>
2121
<button class="action-secondary" type="button" visible="isDownloaded()" click="function(){ openInMediaGalleryClick() }">
22-
<span translate="'Open in Media Gallery'"/>
22+
<span translate="'Open in Media Gallery'"></span>
2323
</button>
2424
<button class="action-default primary"
2525
type="button"

AdobeStockImageAdminUi/view/adminhtml/web/template/grid/column/preview/keywords.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<each args="getKeywords($col.displayedRecord())">
1010
<div class="keyword" css="{ 'hide': $index() >= $parent.getKeywordsLimit()}">
1111
<a href="" class="value" click="function(){ $parent.searchByKeyWord(name) }">
12-
<span text="name"/>
12+
<span text="name"></span>
1313
</a>
1414
</div>
1515
</each>
1616
<button visible="canViewMoreKeywords" click="function(){ viewAllKeywords($col.displayedRecord()) }">
17-
<span translate="'View all'"/>
17+
<span translate="'View all'"></span>
1818
</button>
1919
</div>

AdobeStockImageAdminUi/view/adminhtml/web/template/grid/filter/checkbox.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
<div class="admin__field-control"
99
css="'_with-tooltip': $data.tooltip">
1010
<label class="admin__form-field-label" if="$data.label" attr="for: uid">
11-
<span translate="label" attr="'data-config-scope': $data.scopeLabel" />
11+
<span translate="label" attr="'data-config-scope': $data.scopeLabel"></span>
1212
</label>
13-
<render args="tooltipTpl" if="$data.tooltip"/>
13+
<render args="tooltipTpl" if="$data.tooltip"></render>
1414
</div>
1515
<div class="admin__field admin__field-option">
1616
<input type="checkbox"
@@ -21,6 +21,6 @@
2121
hasFocus="focused"
2222
attr="id: uid, name: inputName"/>
2323

24-
<label class="admin__field-label" text="description" attr="for: uid"/>
24+
<label class="admin__field-label" text="description" attr="for: uid"></label>
2525
</div>
2626
</div>

AdobeStockImageAdminUi/view/adminhtml/web/template/grid/filter/chips.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@
66
-->
77
<div class="admin__data-grid-filters-current" css="_show: hasPreviews()">
88
<div class="admin__current-filters-title-wrap">
9-
<span class="admin__current-filters-title" translate="'Active filters\\:'"/>
9+
<span class="admin__current-filters-title" translate="'Active filters\\:'"></span>
1010
</div>
1111
<div class="admin__current-filters-list-wrap">
1212
<ul class="admin__current-filters-list" data-role="filter-list">
1313
<each args="elems">
1414
<li outereach="previews">
15-
<span text="label + '\\:'"/>
16-
<span if="typeof preview ==='string' && label === 'Color'" class="color-rectangle" ko-style="{ 'background-color' : preview }" />
17-
<span if="typeof preview === 'string'" text="preview"/>
15+
<span text="label + '\\:'"></span>
16+
<span if="typeof preview ==='string' && label === 'Color'" class="color-rectangle" ko-style="{ 'background-color' : preview }"></span>
17+
<span if="typeof preview === 'string'" text="preview"></span>
1818
<span if="typeof preview === 'object'">
19-
<text args="preview[0] || '...'"/> - <text args="preview[1] || '...'"/>
19+
<text args="preview[0] || '...'"></text> - <text args="preview[1] || '...'"></text>
2020
</span>
2121
<button class="action-remove" type="button"
2222
data-action="grid-filter-remove-chip"
2323
click="$parent.clear.bind($parent, elem)">
24-
<span translate="'Remove'"/>
24+
<span translate="'Remove'"></span>
2525
</button>
2626
</li>
2727
</each>
2828
</ul>
2929
</div>
3030
<div class="admin__current-filters-actions-wrap">
3131
<button class="action-tertiary action-clear" type="button" click="clear" translate="'Clear all'"
32-
attr="'data-action': hasPreviews() ? 'grid-filter-reset' : ''"/>
32+
attr="'data-action': hasPreviews() ? 'grid-filter-reset' : ''"></button>
3333
</div>
3434
</div>

AdobeStockImageAdminUi/view/adminhtml/web/template/grid/filter/color.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
-->
77
<label class="admin__form-field-label" if="$data.label" attr="for: uid">
8-
<span translate="label" attr="'data-config-scope': $data.scopeLabel" />
8+
<span translate="label" attr="'data-config-scope': $data.scopeLabel"></span>
99
</label>
1010
<div class="admin__field-control"
1111
visible="visible"

AdobeStockImageAdminUi/view/adminhtml/web/template/grid/toolbar.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@
66
-->
77
<div class="admin__data-grid-header" data-role="masonry-main-toolbar" afterRender="$data.setToolbarNode">
88
<div class="admin__data-grid-header-row">
9-
<div class="admin__data-grid-actions-wrap" each="getRegion('dataGridActions')" render=""/>
10-
<each args="getRegion('dataGridFilters')" render=""/>
9+
<div class="admin__data-grid-actions-wrap" each="getRegion('dataGridActions')" render=""></div>
10+
<each args="getRegion('dataGridFilters')" render=""></each>
1111
</div>
1212
<div class="admin__data-grid-header-row row row-gutter">
13-
<div class="col-xs-2" if="hasChild('listing_massaction')" ko-scope="requestChild('listing_massaction')" render=""/>
13+
<div class="col-xs-2" if="hasChild('listing_massaction')" ko-scope="requestChild('listing_massaction')" render=""></div>
1414
<div css="
1515
'col-xs-10': hasChild('listing_massaction'),
1616
'col-xs-12': !hasChild('listing_massaction')">
1717
<div class="row">
1818
<div class="col-xs-4">
1919
<div class="masonry-results-number" ko-scope="requestChild('listing_paging')">
20-
<render args="totalTmpl"/>
20+
<render args="totalTmpl"></render>
2121
</div>
22-
<each args="getRegion('sorting')" render=""/>
22+
<each args="getRegion('sorting')" render=""></each>
2323
</div>
2424
<div class="col-xs-8" ko-scope="requestChild('listing_paging')">
25-
<div render=""/>
25+
<div render=""></div>
2626
</div>
2727
</div>
2828
</div>
2929
</div>
3030
</div>
3131

32-
<render args="stickyTmpl" if="$data.sticky"/>
32+
<render args="stickyTmpl" if="$data.sticky"></render>

AdobeStockImageAdminUi/view/adminhtml/web/template/sorting.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
-->
77
<div class="masonry-sorting">
8-
<b><translate args="'Sort by'"/>:</b>
8+
<b><translate args="'Sort by'"></translate>:</b>
99
<select class="admin__control-select"
1010
options="options"
1111
optionsValue="'value'"

0 commit comments

Comments
 (0)