View Source Bonfire.Tag.TextContent.Formatter (Bonfire v0.9.10-classic-beta.169)
Summary
Functions
Parses a text and replace plain text links with HTML. Returns a tuple with a result text, mentions, and hashtags.
Functions
@spec linkify( String.t(), keyword() ) :: {String.t(), [{String.t(), User.t()}], [{String.t(), String.t()}]}
Parses a text and replace plain text links with HTML. Returns a tuple with a result text, mentions, and hashtags.
If the 'safe_mention' option is given, only consecutive mentions at the start the post are actually mentioned.