@@ -84,7 +84,7 @@ |
||
| 84 | 84 | return $this->transform(); |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | - return '';//$this->match; |
|
| 87 | + return ''; //$this->match; |
|
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | /** |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | if($this->options->sanitizeInput || $this->options->sanitizeOutput){ |
| 141 | - $this->sanitizerInterface = $this->loadClass($this->options->sanitizerInterface, SanitizerInterface::class, $this->options); |
|
| 141 | + $this->sanitizerInterface = $this->loadClass($this->options->sanitizerInterface, SanitizerInterface::class, $this->options); |
|
| 142 | 142 | } |
| 143 | 143 | |
| 144 | 144 | |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | return ''; |
| 237 | 237 | } |
| 238 | 238 | |
| 239 | - if($callback_count < (int)$this->options->nestingLimit && !in_array($tag, $this->noparse , true)){ |
|
| 239 | + if($callback_count < (int)$this->options->nestingLimit && !in_array($tag, $this->noparse, true)){ |
|
| 240 | 240 | $content = preg_replace_callback('#\[(\w+)((?:\s|=)[^]]*)?]((?:[^[]|\[(?!/?\1((?:\s|=)[^]]*)?])|(?R))*)\[/\1]#', __METHOD__, $content); |
| 241 | 241 | $e = preg_last_error(); |
| 242 | 242 | |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | if($e !== PREG_NO_ERROR){ |
| 252 | 252 | $this->logger->debug('preg_error', ['errno' => $e, '$content' => $content]); |
| 253 | 253 | |
| 254 | - $content = $match ?? '';//$content ?? $bbcode ?? |
|
| 254 | + $content = $match ?? ''; //$content ?? $bbcode ?? |
|
| 255 | 255 | } |
| 256 | 256 | } |
| 257 | 257 | |