Commit 5c882e2f authored by lukas.burgey's avatar lukas.burgey

--wip--

parent 710913fd
......@@ -54,6 +54,15 @@ export class QuestionnaireComponent implements OnInit {
// https://ndportmann.com/client-side-markdown-to-html/
markdownToSafeHtml(value: string): SafeHtml {
value = `
# headline
text foobar
test aoeuaoeuoeuaeuu.
- a
- c
baoeuoaueaeu
`;
// https://github.com/markedjs/marked/issues/51#issuecomment-9607945
const src = value.replace(/\r\n|\r/g, '\n')
.replace(/\t/g, ' ')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment