Commit 8f67677

mo khan <mo@mokhan.ca>
2025-03-19 20:52:53
fix: restore erb trim_mode option
1 parent 4e0b350
Changed files (1)
bin
bin/ui
@@ -229,8 +229,7 @@ class UI
         </body>
       </html>
     ERB
-    erb = ERB.new(template)
-    html = erb.result(binding)
+    html = ERB.new(template, trim_mode: '-').result(binding)
     [200, { 'Content-Type' => "text/html" }, [html]]
   end
 end