tigase/beagle-im

Markdown URLs

thefranke opened this issue · 2 comments

Is your feature request related to a problem? Please describe.
Currently BeagleIM seems to support a subset of markdown for italic and bold text. URLs however are not displayed as markdown.

Describe the solution you'd like
It would be nice if a markdown encoded URL like

[Beagle IM](https://beagle.im/)

could be displayed as a clickable piece of text instead (when Markdown is enabled).

Describe alternatives you've considered

Additional context

While I see your point and how this could be useful, it can be also problematic from the security point of view. Anyone could be able to send you a link to an insecure (or even malicious) place that you will open as it could be disguised as a link to a commonly used website (considered to be secure). Due to that, I'm reluctant to add support for that.

Yeah, I see what you mean.

In several applications they handle this scenario differently to make the user aware on what they are clicking:

  • Tap the word, the link pops out under the word and you can click the link
  • Tap the word and it opens a dialogue asking you to confirm or deny you actually want to visit the link
  • Have an option that allows this type of formatting for expert users, disabled by default