Skip to content

Commit

Permalink
Merge pull request #9 from buzzylab/analysis-z3Ra6p
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
maherelgamil authored Oct 25, 2016
2 parents e63ac03 + e2da385 commit 2bb5ded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Laradown.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ protected function element(array $Element)
{
$markup = '';

if(str_is('h*' , $Element['name'])){
if (str_is('h*', $Element['name'])) {
$link = str_replace(' ', '-', strtolower($Element['text']));
$markup = '<a target="_self" href="#' .$link.'"><i class="fa fa-link"></i>Link</a>';
$markup = '<a target="_self" href="#'.$link.'"><i class="fa fa-link"></i>Link</a>';
}

$markup .= parent::element($Element);
Expand Down

0 comments on commit 2bb5ded

Please sign in to comment.