File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 32
32
'<% } %>' +
33
33
'<ul data-mage-init=\'{"menu":[]}\'>' +
34
34
'<% _.each(data.items, function(value){ %>' +
35
- '<% if (!data.itemSelected(value)) { %><li <%- data.optionData(value) %>>' +
35
+ '<% if (!data.itemSelected(value)) { %><li <%= data.optionData(value) %>>' +
36
36
'<a href="#"><%- value.label %></a></li><% } %>' +
37
37
'<% }); %>' +
38
38
'<% if (!data.term && !data.allShown() && data.recentShown()) { %>' +
Original file line number Diff line number Diff line change 113
113
'<ul>' +
114
114
'<% _.each(data.items, function(value) { %>' +
115
115
'<li class="<% if (data.itemSelected(value)) { %>mage-suggest-selected<% } %><% if (value.is_active == 0) { %> mage-suggest-not-active<% } %>">' +
116
- '<a href="#" <%- data.optionData(value) %>><%- value.label %></a>' +
116
+ '<a href="#" <%= data.optionData(value) %>><%- value.label %></a>' +
117
117
'<% if (value.children && value.children.length) { %>' +
118
- '<%- data.renderTreeLevel(value.children) %>' +
118
+ '<%= data.renderTreeLevel(value.children) %>' +
119
119
'<% } %>' +
120
120
'</li>' +
121
121
'<% }); %>' +
127
127
'<ul data-mage-init="{"menu":[]}">' +
128
128
'<% _.each(data.items, function(value) { %>' +
129
129
'<% if (!data.itemSelected(value)) {%>' +
130
- '<li <%- data.optionData(value) %>>' +
130
+ '<li <%= data.optionData(value) %>>' +
131
131
'<a href="#">' +
132
132
'<span class="category-label"><%- value.label %></span>' +
133
133
'<span class="category-path"><%- value.path %></span>' +
You can’t perform that action at this time.
0 commit comments