Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasvielmetter committed May 24, 2017
1 parent d25ab5c commit 25535b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WrkLst/DocxMustache/DocxMustache.php
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ protected function AnalyseImgUrlString($string)
$valid = true;

//TODO: create a better url validity check
if (! trim(str_replace(['http', ':', ' '], '', $url)) || $url == str_replace('http', '', $url)) {
if (! trim(str_replace(['http', 'https', ':', ' '], '', $url)) || $url == str_replace('http', '', $url)) {
$valid = false;
}
} else {
Expand Down

0 comments on commit 25535b1

Please sign in to comment.