import { textToHtml } from '@src/hylo-components/utils/usefull/usefull';
Converts a text into html markup. Adds paragraphs for text blocks which are separated by two line breaks and adds links for text passages starting with "http" or "https".
Escapes special Html characters.
the text to be converted
Optional
add for single line breaks
Generated using TypeDoc
import { textToHtml } from '@src/hylo-components/utils/usefull/usefull';
Converts a text into html markup. Adds paragraphs for text blocks which are separated by two line breaks and adds links for text passages starting with "http" or "https".
Escapes special Html characters.