View Single Post
Old 03-28-2021, 12:21 PM   #8
ebray187
Member
ebray187 began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Dec 2020
Device: epub
Quote:
Originally Posted by KevinH View Post
Here are alternative ways to add an attribute ...



So I would remove the attrs= parameter on the new tag method, and instead create the tag then either use the new tag in its dict mode to add the attributes needed one by one or assign it to the tags's .attrs if possible.
I have troubles with the ":" symbol in the xml:lang

Last edited by ebray187; 03-28-2021 at 12:25 PM.
ebray187 is offline   Reply With Quote