Hello, Christian Moe <m...@christianmoe.com> writes:
>>> Nicolas Goaziou writes: >>>> Of course, we could work around this with a new rule saying "the longest >>>> match wins", which, in this case, is the underline. But it would be >>>> better to find a more elegant solution, one which would remove the sole >>>> ambiguity, AFAICT, in Org syntax. > > How did this work before? I never tried subscript after whitespace. But > we had both superscript-after-whitespace and > underlining-with-underscores working at the same time, without the > ambiguity causing problems as far as I remember. Simple: underline text was always handled (i.e. protected for further transformation) before subscript. But this doesn't remove the ambiguity. It just adds another parameter: the parsing order. Regards, -- Nicolas Goaziou