w2l: Two minor changes to EPUB export to avoid validation errors from FlightCrew
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@134 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
90d1b47551
commit
fdf0488bd7
6 changed files with 30 additions and 17 deletions
|
@ -16,11 +16,11 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
* Copyright: 2001-2011 by Henrik Just
|
||||
* Copyright: 2001-2012 by Henrik Just
|
||||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* version 1.2 (2011-07-20)
|
||||
* version 1.2 (2012-02-26)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -204,7 +204,7 @@ public class OPFWriter extends NewDOMDocument {
|
|||
}
|
||||
if (!bHasDate && cr.getMetaData().getDate().length()>0) {
|
||||
// TODO: Support meta:creation-date?
|
||||
appendElement(contentDOM, metadata, "dc:date", cr.getMetaData().getDate());
|
||||
appendElement(contentDOM, metadata, "dc:date", Misc.dateOnly(cr.getMetaData().getDate()));
|
||||
}
|
||||
|
||||
// Manifest must contain references to all the files in the XHTML converter result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue