prefix only if newline at the beginning

description

It seems to me that the leading prefix should only be added if the initial value has a leading \n. This can be seen if inserting such a multiline string in test_roundtrip below.

todo by<not specified>
activity of#86e00b30862a [configuration] Fix multi-line strings handling