prevent wrap for comma, dot, etc...

0 votes
asked Nov 18, 2022 in Question / help by nkzo

Hello,

In the following diagram, is it possible to prevent the word wraping to happen just before the comma and the dot ?

https://www.plantuml.com/plantuml/png/SoWkIImgAStDuIhEpimhI2nAp5Mevb9GA2zAB0ZFJ2d9K30oC03oSnChV5EBYnFJKuCpgr8L3862jLnSHQd99ObvwJcf2af9EOb0fA2l3s7ewoj0HJ0aT1HoKekH5QQM84GGAaZIeQV4vP2QbmBq1m00

The associated code is this:

@startuml
skinparam {
  wrapWidth 200
  maxMessageSize 100
}

rectangle "blabla //blabla// blabla blabla //blabla//, les //blabla// et les //blabla//, les //blabla//, les //blabla// et les //blabla//."
@enduml

Thanks in advance!

commented Nov 21, 2022 by nkzo
I just noticed that the problem occurs because of the Creole synthax.

If I remove the //, it works properly.
commented Nov 23, 2022 by nkzo
edited Nov 23, 2022
Still, I would really like to use Creole synthax in my diagram, so the issue is not quite solved!
commented Nov 23, 2022 by plantuml (295,000 points)

We have completely changed our code, and it should work better now.

Tell us if you find other issues!

Thanks!

commented Nov 24, 2022 by nkzo

Hello!

Thanks for the quick update! The wrapping looks perfectly fine!

I noticed something which is pretty annoying, but which may be not related to what you have fixed though. In the svg output, all the "et" words seem almost to be written with a space between the 2 letters:

https://www.plantuml.com/plantuml/svg/bO-n2i9044Jx_OenjNZHByWFM5bOhsQCXtT7k5inAFwx1meHh8GjbZTlYkcAQRPh36BU0d7o4_k5IBduD6hMY8S0jwpZtlTsngPj1OWwRLcA3jpvEx6ky2cIUJHDGo2QGz1wSExzE8SF-GcM22pV8cqci_5NOzL8nzJNLIy0

I can write a new topic if it makes sense.

1 Answer

0 votes
answered Nov 24, 2022 by nkzo

Ok , I think this svg issue is really plantuml online server related. I do not have this kind of issue on my local computer. Hopefully I won't have this issue either on my company server.

I'll wait for the next docker image which includes your fix to check if everything is fine !

Thanks again for you appreciated help ! Merci! yes

...