Skip to content

Releases: ubbdst/Omeka-S-module-BulkExport

Temporary fix for ODT export

16 Mar 12:42
Compare
Choose a tag to compare
Pre-release

Fix ODT exporting error:

  1. the value of $fieldValue could be an int type which causes error for strip_tags(), so converting it to string type when it is an int type.
  2. when the value of $fieldValue has '&' or '<' special characters, the exported ODT file is corrupted, so, replace them to '&amp;' and '&lt;', respectively.
  3. the indent for paragraph style of record metadata is 240 which is so big, causing the texts outside the odt file, so, change indent to 3. Also, reduced the font sizes a bit.