Browse Source

fix(view): inconsistency with external links in Compact view

Fix consistency of link target on summary

Further to 6a44f79db797675fa5a253d454ceb1c3acb3bff0
George Cushen 4 năm trước cách đây
mục cha
commit
165dcd6c3e

+ 1 - 1
wowchemy/layouts/partials/li_compact.html

@@ -38,7 +38,7 @@
     </h3>
     </h3>
 
 
     {{ with $summary }}
     {{ with $summary }}
-    <a href="{{ $link }}" class="summary-link">
+    <a href="{{ $link }}" {{ $target | safeHTMLAttr }} class="summary-link">
       <div class="article-style">
       <div class="article-style">
         {{.}}
         {{.}}
       </div>
       </div>