@nextcloud/vue
Version:
Nextcloud vue components
9 lines (8 loc) • 305 B
TypeScript
/**
* Convert a plan text string to an HTML string with links. Expects that the
* given strings does not contain any HTML entities. Use the linkify-html
* interface if you need to parse HTML entities.
*
* @param str - String to linkify
*/
export declare function linkifyString(str: string): string;