mdamien/lys

Add option to add namespaced attributes

Closed this issue · 1 comments

Ex: <text xml:space="preserve" bytes="1181">
Current workaround:

raw('<text xml:space="preserve" bytes="1181">'),
render(filecontents),
raw('</text>'),

related to #2

In fact, lys already works with namespace attributes !

            L.text(**{'xml:space': 'preserve', 'bytes':'1181'}) / (
                render(filecontents)
            ),