Italic doesn't work with hyperlinks in use case diagram (maybe others)

0 votes
asked Aug 21, 2018 in Bug by anonymous

Hello,

When I use bold with hyperlinks, it works, but italic doesn't...

Here is the example showing this strange behavior :

@startuml

title Test

usecase TEST1 as "//Test simple italic : working//"
usecase TEST2 as "//Test italic with URL : [[https://www.google.com Not working]]//"
usecase TEST4 as "//Other test italic with URL :// //[[https://www.google.com Not working]]//"
usecase TEST5 as "**Test bold with URL : [[https://www.google.com working]]**"

@enduml

1 Answer

0 votes
answered Aug 22, 2018 by albert (3,520 points)

Problematic part is of course the '//' in the https address. When using an escaped slash (i.e. backslash slash '\/') here, I think, it works

@startuml

title Test

usecase TEST1 as "//Test simple italic : working//"
usecase TEST2 as "//Test italic with URL : [[https:\/\/www.google.com Not working]]//"
usecase TEST4 as "//Other test italic with URL :// //[[https:\/\/www.google.com Not working]]//"
usecase TEST5 as "**Test bold with URL : [[https://www.google.com working]]**"

@enduml

...