archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
916 stars 267 forks source link

[Jasper Reports] New lines and whitespace are not rendered in Purpose and Documentation fields #863

Closed Phillipus closed 1 year ago

Phillipus commented 1 year ago

This is a regression introduced in Archi 4.9.2 at:

https://github.com/archimatetool/archi/commit/b434cd99d967aa24495880b6c33ffa0eb5426ddf

In response to a feature request at https://github.com/archimatetool/archi/issues/293#issuecomment-1003593340

However, it means that new lines and whitespace are not rendered because these fields now only render as HTML.

I made the mistake of thinking that HTML tags would be rendered in addition to normal text, but it turns out that this setting means that all the text is treated as HTML so whitespace is ignored.

This is a regression so I am reverting this in Archi 4.10:

https://github.com/archimatetool/archi/commit/de6efa25cdc5fcefd8dcf3516710f5dd10340bd9