Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » M2Doc » M2Doc export add multiple carriage returns to capella element description
M2Doc export add multiple carriage returns to capella element description [message #1835471] Fri, 04 December 2020 00:00 Go to next message
Marc Parveau is currently offline Marc ParveauFriend
Messages: 1
Registered: December 2020
Junior Member
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 !
Re: M2Doc export add multiple carriage returns to capella element description [message #1835473 is a reply to message #1835471] Fri, 04 December 2020 04:45 Go to previous message
Samuel Rochet is currently offline Samuel RochetFriend
Messages: 21
Registered: November 2014
Junior Member
Hi Marc,

FYI, we have now a new Capella forum => https://forum.mbse-capella.org/
Previous Topic:M2DOC m:template reverses output sequence
Next Topic:Implementing MSM diagram
Goto Forum:
  


Current Time: Fri Apr 26 04:41:13 GMT 2024

Powered by FUDForum. Page generated in 0.02960 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top