mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Merge branch 'master' of triptico.com:git/snac2
This commit is contained in:
commit
3a4878fe5e
2 changed files with 2 additions and 2 deletions
|
@ -243,7 +243,7 @@ void process_tags(const char *content, d_char **n_content, d_char **tag)
|
||||||
if (valid_status(status)) {
|
if (valid_status(status)) {
|
||||||
xs *d = xs_dict_new();
|
xs *d = xs_dict_new();
|
||||||
xs *n = xs_fmt("@%s", uid);
|
xs *n = xs_fmt("@%s", uid);
|
||||||
xs *l = xs_fmt("<a href=\"%s\">%s</a>", actor, n);
|
xs *l = xs_fmt("<a href=\"%s\" class=\"u-url mention\">%s</a>", actor, n);
|
||||||
|
|
||||||
d = xs_dict_append(d, "type", "Mention");
|
d = xs_dict_append(d, "type", "Mention");
|
||||||
d = xs_dict_append(d, "href", actor);
|
d = xs_dict_append(d, "href", actor);
|
||||||
|
|
2
html.c
2
html.c
|
@ -442,7 +442,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, int num)
|
||||||
|
|
||||||
xs *s1 = xs_fmt(
|
xs *s1 = xs_fmt(
|
||||||
"<p><details><summary>%s</summary>\n"
|
"<p><details><summary>%s</summary>\n"
|
||||||
"<div class=\"snac-note\" id=\"%s_reply\">\n"
|
"<p><div class=\"snac-note\" id=\"%s_reply\">\n"
|
||||||
"<form method=\"post\" action=\"%s/admin/note\" "
|
"<form method=\"post\" action=\"%s/admin/note\" "
|
||||||
"enctype=\"multipart/form-data\" id=\"%s_reply_form\">\n"
|
"enctype=\"multipart/form-data\" id=\"%s_reply_form\">\n"
|
||||||
"<textarea class=\"snac-textarea\" name=\"content\" "
|
"<textarea class=\"snac-textarea\" name=\"content\" "
|
||||||
|
|
Loading…
Reference in a new issue