diff --git a/src/protocol/gopher/gopher.c b/src/protocol/gopher/gopher.c index 984cc679..b2f3df10 100644 --- a/src/protocol/gopher/gopher.c +++ b/src/protocol/gopher/gopher.c @@ -353,24 +353,29 @@ static void add_gopher_link(struct string *buffer, const char *text, const char *addr) { - add_format_to_string(buffer, "%s", - addr, text); + add_to_string(buffer, ""); + add_html_to_string(buffer, text, strlen(text)); + add_to_string(buffer, ""); } static void add_gopher_search_field(struct string *buffer, const char *text, const char *addr) { - add_format_to_string(buffer, - "
" + add_to_string(buffer, "" "" "" - "" + "" "" "" "
%s:"); + add_html_to_string(buffer, text, strlen(text)); + add_to_string(buffer,":
" - "
", - addr, text); + ""); } static void