From 46f670473baf1e13c8444c82d30319569953bb7a Mon Sep 17 00:00:00 2001
From: cheapie <no-email-for-you@example.com>
Date: Wed, 10 Aug 2016 12:21:38 -0500
Subject: Interpret pipes as line feeds

---
 init.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init.lua b/init.lua
index d172ed5..d512d01 100644
--- a/init.lua
+++ b/init.lua
@@ -13,7 +13,7 @@ digistuff.update_panel_formspec = function (pos,dispstr)
 		"image_button[3,6.5;1,1;digistuff_adwaita_emblem-default.png;enter;]"..
 		"field[6,5.75;2,1;channel;Channel;${channel}]"..
 		"button[8,5.5;1,1;savechan;Set]"
-	fs = fs:format(minetest.formspec_escape(dispstr))
+	fs = fs:format(minetest.formspec_escape(dispstr)):gsub("|","\n")
 	meta:set_string("formspec",fs)
 end
 
-- 
cgit v1.2.3