mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
Strip out links when displaying a new user's bio
This commit is contained in:
@ -15,6 +15,7 @@ class ExcerptParser < Nokogiri::XML::SAX::Document
|
||||
catch(:done) do
|
||||
parser.parse(html) unless html.nil?
|
||||
end
|
||||
me.excerpt.strip!
|
||||
me.excerpt
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user