Quote:
Originally Posted by Doitsu
|
Sorry, because of the comments in the post from 2016, I was looking at the output container documentation (line 135 of outputcontainer_py.html in
Sigil_Plugin_Framework_rev14.epub):
Code:
# metadata get/set
def getmetadataxml(self):
# returns a utf-8 encoded metadata xml fragement
return self._w.getmetadataxml()
which suggests there is no setmetadataxml() method.
Is it not true that an output type plugin is passed an outputcontainer object?
If the outputcontainer object does have a setmetadataxml() method, should the documentation be updated?
If it does not have a setmetadataxml() method, should it?
If not, would an edit type plugin's changes to delete the meta tag not be overridden by the save operation (in the case that environment SIGIL_DISABLE_VERSION_META didn't exist to do this)?