improvements to double quote matching

proposal for [FS#1531](https://bugs.dokuwiki.org/index.php?do=details&task_id=1531)