|
From: | Max Nikulin |
Subject: | Re: Bug: PDF Export of Link fails (emphasis ends inside link target) |
Date: | Sun, 19 Sep 2021 19:11:44 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 03/09/2021 21:57, Maxim Nikulin wrote:
On 03/09/2021 21:33, Timothy wrote:Perhaps a “fix” could be auto-escaping problematic characters in urls whenentering links via `org-insert-link'. [/query/] <https://orgmode.org/?q=query>`org-insert-link' still may detect emphasis markers around the point and add extra marks. Unfortunately heuristics to detect start marker only (while typing text when no end marker yet) will be prone to false positives.
Maybe additional undo step while adding link is enough to alleviate the issue with false positives (similar to autoreplace patterns in text processors). If a user notices that additional markers are added incorrectly, she can remove them through undo. Next undo removes the inserted link completely.
[Prev in Thread] | Current Thread | [Next in Thread] |