|
From: | Max Nikulin |
Subject: | Re: [BUG] Checkbox item is broken in html export with table content [9.6 (9.6-??-bed47b437 @ /Users/hw/.emacs.d/.local/straight/build-28.1/org/)] |
Date: | Wed, 4 Jan 2023 15:17:37 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 02/01/2023 15:50, Ihor Radchenko wrote:
Max Nikulin writes:If an item contains block-level element then text paragraphs should be wrapped with <p>...</p>, however there is no reason to put checkboxes outside of first paragraphs.Timothy, may you take a look? This is a bit non-trivial because paragraph is transcoded before the containing list item. So, we may need to pair parent lookup and child lookup in the transcoders - not ideal.
It seems, the only way is to prepend checkbox symbol in `org-html-paragraph' (unless it is a descriptive list). The function already has an exception for list items. The hack to get cleaner HTML markup becomes dirtier.
[Prev in Thread] | Current Thread | [Next in Thread] |