Skip to content

Commit

Permalink
Add li in tags list
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin committed Dec 13, 2020
1 parent c4740f5 commit 8d39724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LinksImprover.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ class LinksImprover

protected $tagsInsideLinkCouldBeAdded = [
'p', 'p ', 'span', 'span ', 'b', 'b ',
'strong', 'strong ', 'em', 'em ', 'i', 'i ',
'strong', 'strong ', 'em', 'em ', 'i', 'i ', 'li',
];
const TAGS_EXTENDED = [
'p', 'p ', 'span', 'span ', 'b', 'b ',
'strong', 'strong ', 'em', 'em ', 'i', 'i ',
'strong', 'strong ', 'em', 'em ', 'i', 'i ', 'li',
'h2', 'h2 ', 'h3', 'h3 ', 'h4', 'h4 ', 'h5', 'h5 ',
'div', 'div ',
];
Expand Down

0 comments on commit 8d39724

Please sign in to comment.