[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] org-highlight-latex-and-related naive + script renders links i
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] org-highlight-latex-and-related naive + script renders links improperly |
Date: |
Tue, 30 Jan 2024 14:12:53 +0000 |
Michael Klooss <michael.klooss@aalto.fi> writes:
> I have encountered following bug when I set =native= and =script= in
> =org-highlight-latex-and-related=:
> Expected behaviour: Links are displayed as before.
> Actual behaviour: If a link contains an underscore (which is quite
> common), then a "subscript" is displayed as part of the link.
>
> Example: The link
>
> [[https://en.wikipedia.org/wiki/Harmonic_series_(mathematics)][Text]]
>
> is rendered as
>
> _seriesLinkb
Confirmed.
Yet another bug caused by approximate fontification based on regexps
rather than on Org parser.
See https://list.orgmode.org/87ee7c9quk.fsf@localhost/
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>