Values in attributes are not being decoded while writing to file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
New
|
Undecided
|
Unassigned |
Bug Description
The following XHTML is an XHTML snnipet that was written to a file using a ElementTree object.
tmpf = open('tmp2.html', 'wb')
etree.ElementTr
The content in head/meta[@content] is the same of head/meta but while writing to the file, only the content in the element is decoded.
<head xmlns:xlink="http://
<meta name="license" content="Tous droits réservés © Approches inductives, 2014">Tous droits réservés © Approches inductives, 2014</meta>
</head>
ENVIRONMENT:
Python : sys.version_
lxml.etree : (4, 3, 3, 0)
libxml used : (2, 9, 9)
libxml compiled : (2, 9, 9)
libxslt used : (1, 1, 33)
libxslt compiled : (1, 1, 33)
description: | updated |
description: | updated |
description: | updated |
I can't reproduce this, but … is it a problem?