Merge pull request #2141 from roots/unescape-titles

Unescape post titles
This commit is contained in:
Ben Word
2019-01-08 14:12:47 -07:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<article @php post_class() @endphp>
<header>
<h2 class="entry-title"><a href="{{ get_permalink() }}">{{ get_the_title() }}</a></h2>
<h2 class="entry-title"><a href="{{ get_permalink() }}">{!! get_the_title() !!}</a></h2>
@if (get_post_type() === 'post')
@include('partials/entry-meta')
@endif

View File

@@ -1,6 +1,6 @@
<article @php post_class() @endphp>
<header>
<h1 class="entry-title">{{ get_the_title() }}</h1>
<h1 class="entry-title">{!! get_the_title() !!}</h1>
@include('partials/entry-meta')
</header>
<div class="entry-content">

View File

@@ -1,6 +1,6 @@
<article @php post_class() @endphp>
<header>
<h2 class="entry-title"><a href="{{ get_permalink() }}">{{ get_the_title() }}</a></h2>
<h2 class="entry-title"><a href="{{ get_permalink() }}">{!! get_the_title() !!}</a></h2>
@include('partials/entry-meta')
</header>
<div class="entry-summary">