Documentation ¶
Overview ¶
Package text performs text manipulation on html strings it is used by stories and comments
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertLinks ¶
ConvertLinks returns the text with various transformations applied - bare links are turned into anchor tags, and @refs are turned into user links. this is somewhat fragile, better to parse the html
func ConvertNewlines ¶
ConvertNewlines converts \n to paragraph tags
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.