]> git.plutz.net Git - shellwiki/commitdiff
Merge commit '4462399434b8a11f02c5a843d46bade660796fc5'
authorPaul Hänsch <paul@plutz.net>
Wed, 20 Sep 2023 19:20:33 +0000 (21:20 +0200)
committerPaul Hänsch <paul@plutz.net>
Wed, 20 Sep 2023 19:20:33 +0000 (21:20 +0200)
cgilite/markdown.awk

index e478156143dd79b59929874c5809b66b56be81f6..6143b73dea4ccd07e4262867480152d4ad85b028 100755 (executable)
@@ -402,7 +402,7 @@ function _block( block, LOCAL, st, len, text, title, attrib, href, guard, code,
 
   # Pipe Tables (pandoc / php md / gfm )
   } else if ( match(block, "^((\\|)?([^\n]+\\|)+[^\n]+(\\|)?)\n" \
-                           "((\\|)?:?(-+:?[\\|+])+:?-+:?(\\|)?)\n" \
+                           "((\\|)?(:?-+:?[\\|+])+:?-+:?(\\|)?)\n" \
                            "((\\|)?([^\n]+\\|)+[^\n]+(\\|)?(\n|$))+" ) ) {
     len = RLENGTH; st = RSTART;
     #initialize empty arrays