You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to pass a string with newlines into the command line option for filling the External-Description metadata element, formatted nicely in accordance with the spec (https://tools.ietf.org/html/rfc8493#section-2.2.2), but because of #19 back in 2014, these newlines are getting stripped out and I cannot have a nicely wrapped bag-info.txt file.
The text was updated successfully, but these errors were encountered:
It seems that the behavior of bagit.py is asymmetrical with respect to how it treats long tag lines: it handles folded lines when readingbag-info.txt, but it does not fold long lines when writing long tag values into bag-info.txt. This is hardwired into the function _make_tag_file(), which explicitly strips line endings from tag values before writing them (see line 1231).
I'm trying to pass a string with newlines into the command line option for filling the External-Description metadata element, formatted nicely in accordance with the spec (https://tools.ietf.org/html/rfc8493#section-2.2.2), but because of #19 back in 2014, these newlines are getting stripped out and I cannot have a nicely wrapped
bag-info.txt
file.The text was updated successfully, but these errors were encountered: