-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ampersand in heading breaks diary index links #1409
Comments
In concert with #1408 one can generate extremely interesting outcomes... This in the diary note:
NOTE: The first link was created by hitting Will show up as something rather perplexing on the diary index:
|
Adding a bit more context... Escaping the ampersand in the heading included in
Will produce a nice looking link in
However, then the backslash is somewhat of an eyesore. Based on the above, I suspect, the issue is probably the |
Yeah, seems quite likely. I'm guessing a fix will be straightforward, but then again I've thought that before... |
I think, I've got a fix, in fact...
…On Thu, 22 Aug 2024, 19:06 Brennen Bearnes, ***@***.***> wrote:
Based on the above, I suspect, the issue is probably the &-symbol being
included in a regex replace unescaped (and thus being interpreted when it
should not be.
Yeah, seems quite likely. I'm guessing a fix will be straightforward, but
then again I've thought that before...
—
Reply to this email directly, view it on GitHub
<#1409 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMXX6HBEZ5A75XPR4ZOKIDZSYLAPAVCNFSM6AAAAABI2WJN4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBVGI2DGNBSGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
... see #1436! |
Thanks! I'm about to go offline (and off-grid) for a couple of weeks, but I'll try to get that reviewed/merged before too long. |
Prior to submitting a new issue make sure to complete these steps:
.vimrc
Include the syntax you are using (default / Markdown / MediaWiki) -- Markdown
Provide a detailed description of the problem including steps to reproduce the issue.
'diary_caption_level': 6
, for example<Leader>w<Leader>w
## Ham & Spam
NOTE: Due to
g:vimwiki_auto_header = 1
there'll be a top level ("h1") heading above this with the relevant date)<Leader>wi
- [Ham __LinkDescription__ Spam](2024-06-05#Ham __LinkUrl__ Spam)
Include the output of
:VimwikiShowVersion
.The text was updated successfully, but these errors were encountered: