[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] [BUG] Support attr_html in source code and fixed-width block
From: |
Ihor Radchenko |
Subject: |
Re: [PATCH] [BUG] Support attr_html in source code and fixed-width blocks |
Date: |
Tue, 18 Jun 2024 15:33:43 +0000 |
Suhail Singh <suhailsingh247@gmail.com> writes:
> Unlike example blocks, source code and fixed-width blocks don't support
> the attr_html keyword. Contrast these outputs:
> ...
> The attached patches are a straight-forward copy-paste of relevant code
> from org-html-example-block. It may be better to refactor this logic
> and ensure that it is applied on all relevant AST nodes (others are
> probably affected as well).
Sounds reasonable.
Timothy, may you have a look?
I am not sure if we want to add all the attributes to every transcoded
element. At least in some cases, we do discard them
(`org-html--textarea-block').
--
Ihor Radchenko // yantar92,
Org mode contributor,
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>