Skip to content

Commit

Permalink
Fixed accidentally dropping part of the line
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed May 22, 2020
1 parent 5b00269 commit 586e18c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Replacer.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function ($matches) use ($replacement) {
if(preg_match('/(include|require)/', $matches[0], $output_array)) {
return $matches[0];
}
return $matches[2] . $replacement . $matches[3];
return $matches[1] . $matches[2] . $replacement . $matches[3];
},
$contents
);
Expand Down

0 comments on commit 586e18c

Please sign in to comment.