cubicweb-file #344319 preview of attachment file should be enforced [waiting feedback]

If the text file contains raw control chars (color and escape chars), the display of the entity page is broken.

And please, let the possibility to download the attachment even if the preview doesn't work.

prioritynormal
typebug
done in<not specified>
load0.500
load left0.500
closed by<not specified>