Hanspeter Gisler <hpgislero...@bluewin.ch> writes: > OBSERVED BEHAVIOR > ================= > > The following 2 files 'correct_face_rendering.org' and > 'incorrect_face_rendering.org' render the 3rd headings timestamp face > differently, once correctly and once incorrectly. > > incorrect_face_rendering.org > ---------------------------- > > * [2022-04-11 Mo] Heading 1 - referred to by some other heading's body > :PROPERTIES: > :ID: 9549d52f-439d-4011-ad72-9a9a7baad58b > :END: > * [2022-04-11 Mo] Heading 2 - referring to Heading 1 > Link to: [[id:9549d52f-439d-4011-ad72-9a9a7baad58b][[2022-04-11 Mo] Heading 1 > - referred to by some other heading's body]] > * [2022-04-11 Mo] Heading 3's timestamp face is incorrect
Confirmed. This is yet another example (among many before) where our current fontification engine is failing. See https://orgmode.org/list/87ee7c9quk.fsf@localhost The fix is WIP. Current version is at https://github.com/yantar92/org/tree/feature/org-font-lock-element Your example is fontified correctly in the WIP version :) Best, Ihor