Skip to content
Snippets Groups Projects
Commit 85aae940 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Wrap text in pre tags

parent 7bd87500
No related branches found
No related tags found
No related merge requests found
import ".."
MatrixText {
text: model.formattedBody
text: model.formattedBody.replace("<pre>", "<pre style='white-space: pre-wrap'>")
width: parent ? parent.width : undefined
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment