diff options
author | cheapie <no-email-for-you@example.com> | 2016-08-10 12:21:38 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2016-08-10 12:21:38 -0500 |
commit | 46f670473baf1e13c8444c82d30319569953bb7a (patch) | |
tree | c24bbbbac3730af8b276ab9ce79a011267761baa | |
parent | e2e0fc7338e484f29fa469e859d6a4798b337d3e (diff) | |
download | digistuff-46f670473baf1e13c8444c82d30319569953bb7a.tar digistuff-46f670473baf1e13c8444c82d30319569953bb7a.tar.gz digistuff-46f670473baf1e13c8444c82d30319569953bb7a.tar.bz2 digistuff-46f670473baf1e13c8444c82d30319569953bb7a.tar.xz digistuff-46f670473baf1e13c8444c82d30319569953bb7a.zip |
Interpret pipes as line feeds
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |