Allow link target in angular brackets - smu - smu - simple markup (Markdown) processor (fork, fixes + features)
 (HTM) git clone git://git.codemadness.org/smu
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 0bb70e62b863b7c7e9686ef058835957ae0ead7b
 (DIR) parent c21412ce4899c134ea315cbdde0ab1f056de1463
 (HTM) Author: Karl Bartel <karl42@gmail.com>
       Date:   Sun, 29 Sep 2019 16:57:00 +0200
       
       Allow link target in angular brackets
       
       Example:
       
       [URL wrapped in angle brackets](</url/>).
       
       Diffstat:
         M smu.c                               |       7 +++++++
       
       1 file changed, 7 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/smu.c b/smu.c
       @@ -277,6 +277,13 @@ dolink(const char *begin, const char *end, int newblock) {
                else {
                        linkend = q;
                }
       +
       +        /* Links can be given in angular brackets */
       +        if(*link == '<' && *(linkend - 1) == '>') {
       +                link++;
       +                linkend--;
       +        }
       +
                len = q + 1 - begin;
                if(img) {
                        fputs("<img src=\"", stdout);