VCL-1075 - Newlines in image description not handled properly under Manage Images
image.php: modified AJeditResource: added preg_replace for description that converts <br> to \n
diff --git a/web/.ht-inc/image.php b/web/.ht-inc/image.php
index 05aabe9..9447aea 100644
--- a/web/.ht-inc/image.php
+++ b/web/.ht-inc/image.php
@@ -686,6 +686,7 @@
$tmp = $this->getData(array('includedeleted' => 0, 'rscid' => $imageid));
$data = $tmp[$imageid];
$extra = getImageNotes($imageid);
+ $extra['description'] = preg_replace('/<br>/', "\n", $extra['description']);
$extra['description'] = htmlspecialchars_decode($extra['description']);
$extra['usage'] = htmlspecialchars_decode($extra['usage']);
$data = array_merge($data, $extra);