diff options
author | Benjamin Franzke <bfr@qbus.de> | 2015-02-19 09:27:55 +0100 |
---|---|---|
committer | Benjamin Franzke <bfr@qbus.de> | 2015-02-19 09:27:55 +0100 |
commit | 2409e6b26e6b103e8d82a4f838f686a4d6132f54 (patch) | |
tree | 613051b875e0b8d8fad2bcdc357ae3d487f54bb5 /update.php | |
parent | c6ee3cec01cdcc1dff87eb984d54ae787d34fa0e (diff) | |
download | endnote-import-2409e6b26e6b103e8d82a4f838f686a4d6132f54.tar.gz endnote-import-2409e6b26e6b103e8d82a4f838f686a4d6132f54.tar.bz2 endnote-import-2409e6b26e6b103e8d82a4f838f686a4d6132f54.zip |
update.php: Add comment about the <single-tag/> replace
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -28,6 +28,10 @@ $proc2->importStyleSheet($process); $step1 = $proc1->transformToDoc($xml); $step2 = $proc2->transformToXML($step1); +/* + * LOAD XML has bugs (NULL columns) when there are empty, self closing tags like + * <title/> Replace those with <title></title> + */ $step3 = preg_replace('#<([^>]*)/>#', '<\1></\1>', $step2); file_put_contents($output, $step3); |