Skip to content

Commit

Permalink
Correcting position of brace.
Browse files Browse the repository at this point in the history
  • Loading branch information
zxon committed Jan 19, 2018
1 parent 4f02270 commit b5daf7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Component/Products.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,8 @@ private function insertParagraphs($data, $column)
*
* @return int
*/
private function spotHtmlTags($string, $tagname) {
private function spotHtmlTags($string, $tagname)
{
$pattern = "/<$tagname?.*>(.*)<\/$tagname>/";
preg_match($pattern, $string, $matches);
return count($matches);
Expand Down

0 comments on commit b5daf7b

Please sign in to comment.