@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | protected function parseTags(string $source): string |
37 | 37 | { |
38 | - // $source = $this->escapeUnknownTags($source); |
|
38 | + // $source = $this->escapeUnknownTags($source); |
|
39 | 39 | |
40 | 40 | $tags = synapse()->memory->tags(); |
41 | 41 | foreach ($tags as $tag) { |
@@ -54,7 +54,7 @@ |
||
54 | 54 | public function parse(string $source, SourceInput $input): string |
55 | 55 | { |
56 | 56 | if (!$this->sourceAllowed()) { |
57 | - return $source; |
|
57 | + return $source; |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | if ($this->hasMatches($source)) { |
@@ -38,7 +38,7 @@ |
||
38 | 38 | public function parse() |
39 | 39 | { |
40 | 40 | if ($this->responseQueueItem()->getCommand() === '-') { |
41 | - return $this->source(); |
|
41 | + return $this->source(); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | return false; |
@@ -103,10 +103,10 @@ |
||
103 | 103 | $patterns = synapse()->memory->substitute()->keys()->all(); |
104 | 104 | $replacements = synapse()->memory->substitute()->values()->all(); |
105 | 105 | |
106 | - // $this->source = mb_strtolower($this->original); |
|
106 | + // $this->source = mb_strtolower($this->original); |
|
107 | 107 | $this->source = $this->original; |
108 | - // $this->source = preg_replace($patterns, $replacements, $this->source); |
|
109 | - // $this->source = preg_replace('/[^\pL\d\s]+/u', '', $this->source); |
|
110 | - // $this->source = remove_whitespace($this->source); |
|
108 | + // $this->source = preg_replace($patterns, $replacements, $this->source); |
|
109 | + // $this->source = preg_replace('/[^\pL\d\s]+/u', '', $this->source); |
|
110 | + // $this->source = remove_whitespace($this->source); |
|
111 | 111 | } |
112 | 112 | } |