@@ -127,7 +127,7 @@  | 
                                                    ||
| 127 | 127 |      { | 
                                                        
| 128 | 128 | $tag_configuration = $this->configuration->get();  | 
                                                        
| 129 | 129 |          foreach (array_keys($tag_configuration) as $tagtype) { | 
                                                        
| 130 | -            preg_match_all('/\s+' . $tag_configuration[$tagtype]['prefix'] . '(\w+)/', $this->plain($this->message), $matches); | 
                                                        |
| 130 | +            preg_match_all('/\s+'.$tag_configuration[$tagtype]['prefix'].'(\w+)/', $this->plain($this->message), $matches); | 
                                                        |
| 131 | 131 | $tags[$tagtype] = $matches[1];  | 
                                                        
| 132 | 132 | }  | 
                                                        
| 133 | 133 | return $tags;  | 
                                                        
@@ -36,8 +36,8 @@  | 
                                                    ||
| 36 | 36 | |
| 37 | 37 |          foreach (array_keys($this->tags) as $tagtype) { | 
                                                        
| 38 | 38 | $tagconf = $this->tags[$tagtype];  | 
                                                        
| 39 | -            $string = preg_replace_callback('/\s+' . $this->tags[$tagtype]['prefix'] . '(\w+)/', function($matches) use ($tagconf) { | 
                                                        |
| 40 | - return ' ' . trim($this->buildHtmlLink($matches[1], trim($matches[0]), $tagconf));  | 
                                                        |
| 39 | +            $string = preg_replace_callback('/\s+'.$this->tags[$tagtype]['prefix'].'(\w+)/', function($matches) use ($tagconf) { | 
                                                        |
| 40 | + return ' '.trim($this->buildHtmlLink($matches[1], trim($matches[0]), $tagconf));  | 
                                                        |
| 41 | 41 | }, $string);  | 
                                                        
| 42 | 42 | }  | 
                                                        
| 43 | 43 | |
@@ -36,8 +36,8 @@  | 
                                                    ||
| 36 | 36 | |
| 37 | 37 |          foreach (array_keys($this->tags) as $tagtype) { | 
                                                        
| 38 | 38 | $tagconf = $this->tags[$tagtype];  | 
                                                        
| 39 | -            $string = preg_replace_callback('/\s+' . $this->tags[$tagtype]['prefix'] . '(\w+)/', function($matches) use ($tagconf) { | 
                                                        |
| 40 | - return ' ' . trim($this->buildMarkdownLink($matches[1], trim($matches[0]), $tagconf));  | 
                                                        |
| 39 | +            $string = preg_replace_callback('/\s+'.$this->tags[$tagtype]['prefix'].'(\w+)/', function($matches) use ($tagconf) { | 
                                                        |
| 40 | + return ' '.trim($this->buildMarkdownLink($matches[1], trim($matches[0]), $tagconf));  | 
                                                        |
| 41 | 41 | }, $string);  | 
                                                        
| 42 | 42 | }  | 
                                                        
| 43 | 43 | $this->formatted = $string;  |