@@ 1,5 1,5 @@
/*
- * Copyright (c) 2013-2018 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
+ * Copyright (c) 2013-2018,2022 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ 80,7 80,7 @@ static struct str *__process_img(struct
struct str *opt)
{
return str_cat(5, STATIC_STR("<img src=\""), txt, STATIC_STR("\" alt=\""),
- opt, STATIC_STR("\" />"));
+ opt, STATIC_STR("\">"));
}
static struct str *__process_photo(struct parser_output *data, struct str *txt,
@@ 90,7 90,7 @@ static struct str *__process_photo(struc
str_getref(config.photo_base_url),
STATIC_STR("/"),
txt,
- STATIC_STR("\" alt=\""), opt, STATIC_STR("\" />"));
+ STATIC_STR("\" alt=\""), opt, STATIC_STR("\">"));
}
static struct str *__process_emph(struct parser_output *data, struct str *txt,
@@ 269,7 269,7 @@ static struct str *__process_wiki(struct
txt,
STATIC_STR("\"><img src=\""),
str_getref(config.base_url),
- STATIC_STR("/wiki.png\" alt=\"Wikipedia article:\" /> "),
+ STATIC_STR("/wiki.png\" alt=\"Wikipedia article:\"> "),
opt ? opt : txt, STATIC_STR("</a>"));
}
@@ 284,7 284,7 @@ static struct str *__process_bug(struct
txt,
STATIC_STR("\"><img src=\""),
str_getref(config.base_url),
- STATIC_STR("/bug.png\" alt=\"bug #\" /> "),
+ STATIC_STR("/bug.png\" alt=\"bug #\"> "),
txt, STATIC_STR("</a>"));
}