This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
FS#1324 media manager adds linefeeds into IPTC-caption
Edit the caption-Text in the metadatas (EXIF / IPTC) of an jpg-file in the mediamanager, put more than one line (with LF/CR) into the caption-field - save it - open once more to edit:
There will be an empty line between each original line.
I looked with PSPEdit into the jpg-file and discovered, that the additional lines are not written, when the metadatas where saved, but when the mediamanger opens the file once more to edit.
I just discovered, that a solution might be deleting the line with the str_replace of the function formText in inc/common.php:
// $text = str_replace("\012","\015\012",$text);
This works for "my" problem, b ut I guess, that this conversion could be necessary at other places.
What to do?