ユーザー入力テキストをLinkifyする時に target="_blank" rel="noopener" を付与する
This commit is contained in:
		@@ -35,7 +35,7 @@ class Formatter
 | 
				
			|||||||
     */
 | 
					     */
 | 
				
			||||||
    public function linkify($text)
 | 
					    public function linkify($text)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        return $this->linkify->processUrls($text);
 | 
					        return $this->linkify->processUrls($text, ['attr' => ['target' => '_blank', 'rel' => 'noopener']]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user