From 2409e6b26e6b103e8d82a4f838f686a4d6132f54 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 19 Feb 2015 09:27:55 +0100 Subject: update.php: Add comment about the replace --- update.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update.php b/update.php index 1a5233b..174970e 100755 --- a/update.php +++ b/update.php @@ -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 + * Replace those with <title> + */ $step3 = preg_replace('#<([^>]*)/>#', '<\1>', $step2); file_put_contents($output, $step3); -- cgit