Pārlūkot izejas kodu

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

Fix consistency of link target on summary

Further to 6a44f79db797675fa5a253d454ceb1c3acb3bff0
George Cushen 4 gadi atpakaļ
vecāks
revīzija
165dcd6c3e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      wowchemy/layouts/partials/li_compact.html

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

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