plantuml / plantuml

Generate diagrams from textual description
https://plantuml.com
Other
9.73k stars 881 forks source link

Creole strikeout for complete message text is not rendered #1574

Closed JuergenHaug closed 3 weeks ago

JuergenHaug commented 7 months ago

Describe the bug Alice -> Bob : --stricken-out-- is rendered correctly, where Alice -> Bob : --strickenout-- is not

To Reproduce https://www.plantuml.com/plantuml/uml/SoWkIImgAStDuNBCoKnELT2rKt3AJrAmKj3LBIufoapEJitJpIyjqTN5BK-Cj499QaK9bqDgNWhGAW00

@startuml
Alice -> Bob : --stricken-out--
Alice -> Bob : --strickenout--
Alice -> Bob : --strickenout-- text
@enduml

swmatisa commented 7 months ago

Hello, As workaround you can a space with <U+0020> https://www.plantuml.com/plantuml/uml/SoWkIImgAStDuNBCoKnELT2rKt3AJrAmKj3LBIufoapEJitJpIyjqTN5BG-MLh09rJOmC3Am8wIk9BMYXCiXDIy5Q2S0

Le jeu. 12 oct. 2023 à 15:51, Juergen Haug @.***> a écrit :

Describe the bug Alice -> Bob : --stricken-out-- is rendered correctly, where Alice -> Bob : --strickenout-- is not

To Reproduce

https://www.plantuml.com/plantuml/uml/SoWkIImgAStDuNBCoKnELT2rKt3AJrAmKj3LBIufoapEJitJpIyjqTN5BK-Cj499QaK9bqDgNWhGAW00

@startumlAlice -> Bob : --stricken-out--Alice -> Bob : --strickenout--Alice -> Bob : --strickenout-- @.***

https://camo.githubusercontent.com/ab2dbef6b2be3b8a4a9c89780b41f6313a2054cb41923a88937f73c668ce1e14/68747470733a2f2f7777772e706c616e74756d6c2e636f6d2f706c616e74756d6c2f7376672f536f576b49496d6741537444754e42436f4b6e454c5432724b7433414a72416d4b6a334c424975666f6170454a69744a7049796a71544e35424b2d436a34393951614b39627144674e57684741573030

— Reply to this email directly, view it on GitHub https://github.com/plantuml/plantuml/issues/1574, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALGQADD7IPMGSRHOUX56Y33X67YU7AVCNFSM6AAAAAA55VBENOVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2DAMBVGA4DSNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

JuergenHaug commented 7 months ago

Thx, that works

The-Lum commented 7 months ago

Hi all,

Just for the record, it is due to --title-- is for horizontal line title, see:

@startuml
title Horizontal line title test
Alice -> Bob : --notstrickenout--
Alice -> Bob : --not stricken out--
Alice -> Bob : --not stricken out--\n""                        ""
Alice -> Bob : ==horizontal line title==
Alice -> Bob : ==horizontal line title==\n""                        ""
@enduml

Regards, Th.

The-Lum commented 3 weeks ago

Hi all,

[This is an Issue Review] 👀 This is now answered.

Regards.