shithub: hell

Download patch

ref: 3ce435ed461e8079803d61f1a0be93e2f6acb971
parent: d2bf484a155db574da425c4b2522cc4589f4b087
author: penny <penny@limitedideas.org>
date: Mon Oct 6 13:34:54 EDT 2025

comments

--- a/templater.go
+++ b/templater.go
@@ -34,6 +34,7 @@
 	return template
 }
 
+// Render a template into a string, hyphenated for user display
 func (tr *templateRenderer) render(template string) (string, error) {
 	template, _ := tr.renderRaw(template)
 	template, long := hyphenate(template)
@@ -43,6 +44,7 @@
 	return template + "\n", nil
 }
 
+// Render a template string with no hyphenation
 func (tr *templateRenderer) renderRaw(template string) (string, error) {
 	expandMap := func(key string) string {
 		for item := range tr.tempdefs {
--