From: Schimon J. <sc...@fe...> - 2025-07-25 08:29:36
|
Good day. Is it feasible to set the routine (i.e. default) element to "span", or any other element, instead of element "p"? >>> from docutils.core import publish_parts >>> publish_parts(source="This an XHTML text with a `link <https://movim.eu>`_ for XMPP PubSub", writer_name="xhtml")["fragment\ "] '<p>This an XHTML text with a <a class="reference external" href="https://movim.eu">link</a> for XMPP PubSub</p>\n' Kind regards, Schimon |