We’re using Mark Huot’s File fieldtype (to upload an MP3 to a field), and I’m preparing to update—finally—to ExpressionEngine 2. I understand I need to use another fieldtype for this/these field(s) in EE2, that’s not my problem.
I’ve run the update successfully in a sandboxed environment but have noticed—by looking in the database—that the fields using the File field type have extra carriage returns (see screenshot, notice the scrollbar), which, when pulled in a template, get displayed or added. For instance {field} gets parsed as content[return, return, return, etc.].
I’ve gone back and checked the pre-updated database to ensure that the returns weren’t just added as part of the update process; they weren’t. So I’m left assuming that the extension/fieldtype correctly parses them on the template level in EE1.x.
Is there a way I can strip all the extra returns with a query?
(I’ve already tried converting the field prior to updating to, say, Text Field, and that didn’t work.)