Suhail Singh <suhailsingh...@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>