XML attributes not encoded correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Appy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
appy 0.6.6 (pod) doesn't appear to be encoding XML attributes correctly.
The problem can be seen by creating a simple document with a hyperlink that includes multiple parameters, e.g. (from the .odt file):
Including a link: http://
<text:a xlink:type="simple" xlink:href="http://
The result document after rendering writes the link as:
<text:a xlink:type="simple" xlink:href="http://
As can be seen, the original link contain "&" in the url, while the rendered link contains "&".
Just to be clear, this is static text in the template, not variable substitution or odt chunk, etc.
I've also seen the problem when embedding images in to documents, but don't have an example. In this case angle brackets weren't being encoded.
I've attached the source document, and (hopefully) the python script and result document as well.
Thanks very much,
Alistair
Changed in appy: | |
milestone: | none → 0.6.7 |
status: | Fix Committed → Fix Released |
Adding the conversion script.