shithub: hell

Download patch

ref: 76269867f77b3f86d799b0d2ec1cdc6bd77c8153
parent: 9d4705b5f7ba0539f5815e29a6aa87223be65044
author: penny <penny@limitedideas.org>
date: Wed Oct 15 12:50:51 EDT 2025

fixed urls I guess

--- a/renderer.go
+++ b/renderer.go
@@ -209,11 +209,10 @@
 				}
 				if node.Attr[attr].Key == "href" {
 					href = node.Attr[attr].Val
+					fmt.Println(href)
 					//Replace the href with the description if the URL has one
 					if node.FirstChild != nil && node.FirstChild.Type == html.TextNode && !ismention {
 						node.Attr[attr].Val = fmt.Sprintf("(%s)", node.FirstChild.Data)
-					} else {
-						href = href + " "
 					}
 				}
 			}
--