Tom Gillespie <tgb...@gmail.com> writes: > Looks like string-replace doesn't support that notation, > so both too aggressive and without sufficient control. > I've switched to replace-regexp-in-string which does > what we want. > > Here's the updated patch.
Thanks! Note that your patch does not apply onto master. There is another recent patch attempting the same fix, but in less general way. I can apply your patch if you adjust it to the current master as your patch is going to be compatible with older Org as well. -- 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>