finos / messageml-utils

MessageML is a markup language used by the Symphony Agent API for representing messages, including formatting (bold, italic, numbered and unnumbered lists etc.) and entity data representing structured objects.
https://docs.developers.symphony.com
Apache License 2.0
12 stars 28 forks source link

Preserve link text in Markdown #20

Closed ldrozdz closed 7 years ago

ldrozdz commented 7 years ago

When serialising to Markdown, the link text is lost, replaced by by the link URI in the generated legacy entities and the MD representation.

Ideally, links should be rendered to Markdown as per the spec, i.e. <a href="http://example.com">Link text</a> -> [Link text](http://example.com), but this might break Symphony clients, so discretion is advised in handling this issue.

ldrozdz commented 7 years ago

Fixed in 121f9582e51e71c8be268a54d7c5e7c2265c35b4

ldrozdz commented 7 years ago

Reverted in 73291d69bad60a61580423a33ebb291dee0b111a to avoid breaking legacy clients.