Hi Ihor,

I noticed that the emacs-orgmode archive page seems to be inaccessible
lately, so you might not have seen my previous email. Over the past few
days, I have discovered a perhaps better method by reading through the
code.

Instead of modifying the export process of ox-html, perhaps we can
directly modify the implementation of the parser.

First, `org-element-plain-list-parser' determines the type of the list
based on the structure (generally from `org-list-struct'). My approach
is to clear the tags at the same indentation level (i.e., the 6th
element in the struct elements) when the list type is not descriptive.

Modifying plain-list alone is not enough; we need the cooperation of
`org-element-item-parser'. In the original version, we can notice that
it only sets contents-begin to the beginning of the item when it finds
an "a :: b" structure and the list is an ordered list; in other cases,
it skips the TERM :: structure. Now, we can choose not to skip it when
we find that (nth 5) of the item is nil.

Regards.

Attachment: p.diff
Description: Binary data

Reply via email to