File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 154154 % >
155155 < % if (hasValidData) { % >
156156
157- < div class = " event-person-group" style= " display: inline- block; white-space: nowrap ;" >
157+ < div class = " event-person-group" style= " display: block;" >
158158 < span class = " person-label" >< %= block .label % > : < / span>
159159 < span class = " person-list" style= " white-space: normal;" >
160160 < %= block .data
164164 var name = (person .name || ' ' ).toString ().trim ();
165165 var url = (person .url || ' ' ).toString ().trim ();
166166 if (! name) return ' ' ;
167- if (url) {
168- return ' <a href="' + url + ' " target="_blank" rel="noopener noreferrer">' + name + ' </a>' ;
169- }
170167 return name;
171168 })
172169 .filter (function (x ){ return x && x .length > 0 ; })
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ formIcon = '<i class="bi bi-laptop"></i>';
197197 });
198198% >
199199< % if (hasValidData) { % >
200- < div class = " event-person-group" style= " display: inline- block; white-space: nowrap ;" >
200+ < div class = " event-person-group" style= " display: block;" >
201201< span class = " person-label" >< %= block .label % > : < / span>
202202< span class = " person-list" style= " white-space: normal;" >
203203< %= block .data
@@ -207,9 +207,6 @@ if (typeof person === 'string') return person.trim();
207207var name = (person .name || ' ' ).toString ().trim ();
208208var url = (person .url || ' ' ).toString ().trim ();
209209if (! name) return ' ' ;
210- if (url) {
211- return ' <a href="' + url + ' " target="_blank" rel="noopener noreferrer">' + name + ' </a>' ;
212- }
213210return name;
214211})
215212.filter (function (x ){ return x && x .length > 0 ; })
You can’t perform that action at this time.
0 commit comments