With spans, the code for renderLinks can just be written as a normal
loop with an if statement. This makes it possible to render the text
between links in a special way too (e.g. escape it).
@mindhaq have a look at this (probably mostly the changed example in the README).
With spans, the code for renderLinks can just be written as a normal loop with an if statement. This makes it possible to render the text between links in a special way too (e.g. escape it).
@mindhaq have a look at this (probably mostly the changed example in the README).