Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Markdown.CheckURL (gb.markdown)

Function CheckURL ( Url As String, Markup As String ) As String

This method allows you to check the URL inserted into the markdown text and fix them.

  • URL is the link URL.

  • Markup is the markup including the link (i.e. "a" or "img").

You must return the final URL that will be actually used. By default, every URL is allowed and inserted as is.

For example, you can use this method for forbid external links, provided that you have a black list of them.