Yue Yi <[email protected]> writes:

>> IMHO, ignoring parts of the items is a bug - we are loosing information
>> from the original Org document for no good reason.
>> Let me frame this differently - what is the benefit of stripping tag
>> from the item? When could it be intentional?
>>
>> Yes, users can do - term \colon\colon item, but that's not intuitive.
>> I would opt for this approach if tripping tag were justified for some
>> use cases, but I do not see how it is.
>
> Since you mentioned that stripping tags is a bug and losing information
> is unjustified, would it be more acceptable if I implemented a similar
> fix localized within ox-html.el? This would ensure the information is
> preserved during HTML export without affecting the core syntax tree or
> other backends.

Yeah, that's roughly what I had in mind for that bug.
The general principle is doing a minimal change necessary to fix things.

1. Is it really a bug? (here, I believe it is)
2. If it is a bug, can we fix it without affecting other things? (yes,
   if we just modify ox-html)
3. If we cannot avoid affecting other things, minimize the effects,
   preferably only changing things not explicitly documented/de-facto
   relied upon by users.
4. The last resort is breaking things, but we need a strong
   justification, often beyond only a single bug.

The above is formulated in other words (from Carsten Dominik) at
https://orgmode.org/worg/org-maintenance.html#guidelines

-- 
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