Multiline Image URLs for e.g. PlantUML

According to the CommonMark Dingus, you can have multiple lines in an HTML attribute, but the browser turns around and treats them like spaces [](

<img src="http://plantuml.rado0x54.com/png?uml=
@startuml%0A
Hans -> John : Hallo%0A
John -> Carla : Hi%0A
Carla -> Hans : Ola%0A
@enduml
">

This also works for links on GitHub. However, for images specifically, GitHub strips the URL, generating an <img src=""> for the example above. :angry:


As for why CommonMark doesn’t parse multiline URLs like GFM-OG did? Luckily, nobody on Babelmark can be tricked by the Geordi LaForge emoticon []( at the beginning of this post to render 95% of the document as a gigantic link, but some of them were willing to eat a large fraction of this paragraph :-). The idea is that “CommonMark’s syntactical forms should be hard to trigger accidentally.”

Click here to see it.

Edit: the newline isn’t completely ignored