Release 1.7: fix bug in XMP generation
This commit is contained in:
parent
12f97b685d
commit
d5b22cd32f
|
@ -65,6 +65,10 @@ Contributors
|
|||
Changelog
|
||||
=========
|
||||
|
||||
* Version 1.7 dated 2020-01-13
|
||||
|
||||
* Fix bug in release 1.6 in XMP: variables were not replaced by their real value
|
||||
|
||||
* Version 1.6 dated 2020-01-09
|
||||
|
||||
* Generate XMP (XML-based PDF metadata) via string replacement instead of using XML lib
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = '1.6'
|
||||
__version__ = '1.7'
|
||||
|
|
|
@ -412,7 +412,7 @@ def _prepare_pdf_metadata_xml(facturx_level, pdf_metadata):
|
|||
</x:xmpmeta>
|
||||
<?xpacket end="w"?>
|
||||
"""
|
||||
xml_str.format(
|
||||
xml_str = xml_str.format(
|
||||
title=pdf_metadata.get('title', ''),
|
||||
author=pdf_metadata.get('author', ''),
|
||||
subject=pdf_metadata.get('subject', ''),
|
||||
|
|
Loading…
Reference in New Issue