Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ Here is a minimal reproducing example ** *heading to be linked to* [[**heading to be linked to*]] Expected rendered result: *heading to be linked to Actual rendered result **heading to be linked to Emacs : GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.2.0, NS appkit-2022.20 Version 11.1 (Build 20C69)) of 2020-12-24 Package: Org mode version 9.4.4 (9.4.4-4-g99eafe-elpaplus @ /Users/cvl/.config/emacs/elpa/28.0/develop/org-plus-contrib-20210104/)
Hello, Tianrui Wei <tianrui-wei@outlook.com> writes: > Here is a minimal reproducing example > > ** *heading to be linked to* > > [[**heading to be linked to*]] > > Expected rendered result: I had troubles understanding your report. What does "rendering" means here? Is it about `org-insert-link', fontification, export? > *heading to be linked to > > Actual rendered result > > **heading to be linked to If you're talking about `org-insert-link', this is not a bug. The first star is a special markup indicating you're specifically linking to a headline. Regards, -- Nicolas Goaziou
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>> [[**heading to be linked to*]]
>>
>> Expected rendered result:
>
> I had troubles understanding your report. What does "rendering" means
> here? Is it about `org-insert-link', fontification, export?
I think the report referred to fontification. When
org-hide-emphasis-markers is non-nil, the heading is rendered in bold
and the "*" markers are hidden. However, "*" emphasis markers are not
hidden in the link - inconsistent with what users could expect from
non-nil org-hide-emphasis-markers setting.
Best,
Ihor