Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API. It allows you to write HTML pages in pure Python very concisely, which eliminate the need to learn another template language, and to take advantage of the more powerful features of Python.
span and a also do not have the _isinline attribute set (similar issue as #139 and #194). This leads to unwanted white space (before the <a in the example) e.g. in
with span():
text("(")
with a(href=myurl):
text("some")
text(")")
span and a also do not have the _isinline attribute set (similar issue as #139 and #194). This leads to unwanted white space (before the
<a
in the example) e.g. in