Spurious help-target added when referencing A (append-at-end-of-line)
Describe the bug
When referencing the help for A, it also includes a spurious link to the help for a-backtick in motion.txt
To Reproduce
Invoke the help-bot with backtick, colon, "help", space, capital A, backtick (spelled out to ensure it's conveyed properly, but should look like :help A
Expected behavior
The help-bot replies with just the link to the help for A (not help for a-backtick)
Screenshots
While not a screenshot, here's the Reddit thread in which it happened:
https://www.reddit.com/r/vim/comments/1hmlgx0/is_there_a_way_to_move_my_cursor_right_on_a/m3v8vi2/?context=3
My guess is that something in the closing-backtick gets interpreted as also issuing
:help a`
While in here, the emitted (wrong) entry seems to mis-escape the closing backtick (precisely what I was concerned about in my opening description 😂) getting the backtick displayed outside the <code> markup.
It's probably because of this regex which extracts tags not enclosed within backticks. Apparently it also consumes the backtick. Seems like it has been doing this for a while, but you're the first person to give it a tag where a version with backticks also exists 😂.
Glad I can poke at weird edge-cases for you :grin: I suspect the same issue might possibly manifest for i/I where there's also a backtick version of it in text-object help.