Doc generation : HTML SYMBOLS IN THE GENERATED WORD

Hello community ,

I would like to know how are you dealing with the generated doc that contains HTML symbols ,
I have identified some of them in orther to be more clear about what im talking about :

HTML

When it comes to generated frensh document , it’s more unreadable

Im wondring if there is a way to get the same text that i write or (Paste) in the description field.

Best regards

Youness EL HEJBANI

I didn’t had any tests on this HTML character entity reference, but I added one and it works, even the &ndsp;.

Thx Yvan for your reply

I don’t know if my question was clear

simply, i dont find the text that i put in description field when i generate my word file , it’s plenty of code (i think its like HTML code)
How i could find my txt properly when i generte my document
it dont matter (HTML OR SOMETHING ELSE) , i need to find my text that put in capella descriptionsas is it

Thx a lot

The description is saved as HTML in the EAttribute description, so you can access if with:

 m:someCapellaObject.desciption

This will return the HTML code, if you want to insert the formatted text you can use:

 m:someCapellaObject.desciption.fromHTMLBodyString()

THX a lot Yvan , this is what i was looking for

Best regards

Youness