Skip to content

Commit

Permalink
Fix short-tags in PHP result template.
Browse files Browse the repository at this point in the history
  • Loading branch information
Potherca committed Sep 8, 2019
1 parent cc34a3c commit 2d58766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/template/result.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<a href="<?= htmlentities($result['repository_url']) ?>" target="_blank"><?= htmlentities($result['repository_name']) ?></a>
</p>
</header>
<? if($result['repository_description']): ?>
<?php if($result['repository_description']): ?>
<p style="padding: .75rem; font-style: italic;">
<?= htmlentities($result['repository_description']) ?>
</p>
<? endif ?>
<?php endif ?>
<div class="card-content">
<div class="content">
<?= $result['file_fragment'] ?>
Expand Down

0 comments on commit 2d58766

Please sign in to comment.