Probably could make this shorter by applying compression optimized for text. Also I wonder what happens if you enter | into the custom text field, can user input break this or will the special characters be escaped / handled some way?
Clearly though all the kinks are not worked out as others here have reported breaking it with some characters. Work in progress for sure!