M2Doc export add multiple carriage returns to capella element description [message #1835471] |
Thu, 03 December 2020 19:00  |
Eclipse User |
|
|
|
Hi guys,
I'm strugling with this problem for days now and i definitely need help with this.
I'm on capella 1.4.0 with M2DOC 3.0.0.
Apparently, the HTML of elements description can't be export correctly.
When I use the fromHTMLBodyString() property on my element description, it appears to add unwanted carriage returns into my description.
This behaviour is basically deterioring as I'm going through my loop. The more elements I have in my loop the more carriage returns i get.
Example:
Item1:
------------------------
My first description is good.
I can have as many lines as I want.
It's working
-----------------------
Item2:
----------------------
I get a first carriage return before the beginning of the description.
And if I have more lines
It starting to be really insane.
------------------------
I made the test with classic description {m:element.description}, this export the text with all HTML tag without any unwanted carraige return which is basically normal.
I tried to use another template, I got the same behaviour.
Have you any ideas of the problem ?
Thanks for your help !
|
|
|
|
Powered by
FUDForum. Page generated in 0.03168 seconds