Steven Allen <[email protected]> writes:

>> Also not the first time I failed to run the tests, sorry about that.
>>
>> I've attached a new patch that:
>>
>> 1. Only applies to source blocks.

What about inline src blocks?

>> 2. Avoids modifying the syntax table of the surrounding newlines.

Maybe we should limit this when calling the fontification, not inside?

>> This passes the tests now, but I'm wondering if there might still be
>> things I'm not understanding here.
>
> Well, at the very least, I need to cleanup the syntax table (patch attached).
>
> This also deserves some tests, but I don't want to continue hacking on
> this unless you think it has a chance of going somewhere. Feel free to
> say "too risky".

This looks promising. And fixes a long-standing bug.
Could you please share the analysis why the tests failed in the original 
version?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>

Reply via email to