You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to render \r, \n and \r\n as a line break. Looking at other issues and the documentation I tried playing with RenderSettings SkipHtmlEncoding true, but this did not help me.
Is there a place I can hook into the rendering process to replace line breaks with a <br> tag to make this work for me?
Thanks for all your hard work!
The text was updated successfully, but these errors were encountered:
Thank you for the suggestion, we actually had a discussion as part of #24 about adding pre-processing and post-processing hooks to the tokenzation and rendering pipelines as a possible extension.
If you don't mind i'm going to use this issue as the base of the feature and try to get it included in a future release.
Romanx
changed the title
Render line breaks
Add pre/post hooks into the rendering and tokenization pipelines for customization
Aug 7, 2019
I would like to render
\r
,\n
and\r\n
as a line break. Looking at other issues and the documentation I tried playing with RenderSettings SkipHtmlEncoding true, but this did not help me.Is there a place I can hook into the rendering process to replace line breaks with a
<br>
tag to make this work for me?Thanks for all your hard work!
The text was updated successfully, but these errors were encountered: