Is there a way to disable urlencoding of anchor attributes in lxml
问题 I am using lxml 2.2.8 and trying to transform some existing html files into django templates. the only problem that i am having is that lxml urlencodes the anchor name and href attributes. for example: <xsl:template match="a"> <!-- anchor attribute href is urlencoded but the title is escaped --> <a href="{{{{item.get_absolute_url}}}}" title="{{{{item.title}}}}"> <!-- name tag is urlencoded --> <xsl:attribute name="name">{{item.name}}</xsl:attribute> <!-- but other attributes are not --> <xsl