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.
GNU Lesser General Public License v3.0
1.72k
stars
108
forks
source link
tag(attr=None) renders as <tag attr="None"></tag> #153
The current behavior is:
It seems more intuitive, and better for designing higher-level functional components, if it were to render as: