Closed dr5hn closed 8 months ago
Hi there. We'd need a test or two to see what this actually fixes.
@driesvints Sure will add some tests.
@driesvints I've pushed a tests to this branch, but for some reasons they're not showing up.
https://github.com/dr5hn/blade-icons/commit/780e32fb1f189c4970a2ad1a9cacdcf6f0a7ec7d
@dr5hn GitHub is having issues: https://www.githubstatus.com
Issue
Stripping tags sometimes doesn't match the content when doing
str_replace
. Hence it fails applying defer functionality.Solution
Introducing a regex extraction fixes the issue.