On 26/07/2022 19:59, Ihor Radchenko wrote:
I am attaching a tentative patch that will make Org export remove
zero-width spaces when those spaces actually separate the object
boundaries.
Ihor, I have realized that you did not address another use case: zero
width spaces may be added to suppress activation of markup. In such
cases they are in the middle of text objects, but they should be removed.
Switch to the *scratch* buffer.
I consider zero width spaces as a workaround that is acceptable in some
cases but awkward in others. It is tricky to deal with it in some
general way.
I do not agree with the stance "just maintain status quo" expressed in
response to Juan Manuel Macías. On zero width spaces and Org syntax.
Fri, 03 Dec 2021 12:48:16 +0000
https://list.orgmode.org/orgmode/87ilw5yhv3....@posteo.net/
An idea. At certain moment I was surprised that markup markers are not
activated at the borders of export snippets:
intra@@org:@@*w*@@org:@@ord
It is not really lightweight markup but at least it is purely ASCII and
visible by default. It might be breaking change in some edge cases. I am
unsure concerning increasing complexity of the parser. Macro markers
{{{macro}}} have similar behavior.