tstaerk / mediasyntax

Mediasyntax is a plugin for Dokuwiki that enables Mediawiki syntax.
http://www.staerk.de/thorsten/Mediasyntax
GNU General Public License v2.0
10 stars 6 forks source link

listing gets broken after table in case of no newline #14

Closed tstaerk closed 9 years ago

tstaerk commented 10 years ago

^ HOST ^ HOST_ACTIVE ^ HOST_STATUS ^ FAILOVER_STATUS ^ FAILOVER_GROUP ^ FAILOVER_CONFIG_GROUP ^ FAILOVER_ACTUAL_GROUP ^ NAMESERVER_CONFIG_ROLE ^ NAMESERVER_ACTUAL_ROLE ^ INDEXSERVER_CONFIG_ROLE ^ INDEXSERVER_ACTUAL_ROLE ^ STORAGE_PARTITION ^ REMOVE_STATUS ^ |"2222"|"YES"|"OK"|""|"default"|"default"|"default"|"MASTER 2"|"SLAVE"|"WORKER"|"SLAVE"|2|""| |"3333"|"YES"|"OK"|""|"default"|"default"|"default"|"SLAVE"|"SLAVE"|"WORKER"|"SLAVE"|3|""| |"1111"|"YES"|"OK"|""|"default"|"default"|"default"|"MASTER 1"|"MASTER"|"WORKER"|"MASTER"|1|""|

tstaerk commented 10 years ago

One problem solved:

/srv/www/htdocs/dokuwiki/lib/plugins/mediasyntax/syntax # diff /tmp/listblock.php listblock.php 35c35

< '\n[ \t][#\]+ *',

  '^[ \t]*[\#\*]+ *',
tstaerk commented 10 years ago

this yields a funny effect: /srv/www/htdocs/dokuwiki/lib/plugins/mediasyntax/syntax # diff /tmp/listblock.php listblock.php 35c35

< '\n[ \t][#\]+ *',

  '^[ \t]*[\#\*]+ *',

49c49

< '\n',

  '$',
tstaerk commented 9 years ago

I see all has been fixed.