Skip to content

Commit e846663

Browse files
committed
:octocat:
1 parent 0c637e5 commit e846663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BBCode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ protected function parseAttributes(string $attributes):array{
277277

278278
// @todo: fix attributes pattern: accept single and double quotes around the value
279279
if(preg_match_all('#(?<name>^|[[a-z]+)\=(["\']?)(?<value>[^"\']*?)\2(?: |$)#i', $attributes, $matches, PREG_SET_ORDER) > 0){
280-
print_r(['$attributes' => $attributes, '$matches' => $matches]);
280+
# print_r(['$attributes' => $attributes, '$matches' => $matches]);
281281

282282
foreach($matches as $attribute){
283283
$name = empty($attribute['name']) ? $this->options->placeholder_bbtag : strtolower(trim($attribute['name']));

0 commit comments

Comments
 (0)