Add \ to & in LaTex-Export

0 votes
asked Nov 2 in bug by Dresaan (760 points)
In LaTex, '&' and '\' are command chars. So they have to be escaped.

The sample:

class SomeClass{

Something & something other with a \\ does not work

}

throws an latex exception caused by the & and the \ just disappears.

Both should get an '\' prefixed to escape it so that they are generated as "\&" and "\\".

The bug is propably on every text regardless of what diagram type or element.

1 Answer

0 votes
answered Nov 3 by plantuml (134,570 points)
selected Nov 3 by Dresaan
 
Best answer
Thanks for the feedback.

It's fixed in last beta http://beta.plantuml.net/plantuml.jar

Tell us if you find other issues with LaTex !
commented Nov 3 by Dresaan (760 points)
Seems to work. Thank you :-)
...