mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-27 15:13:39 +00:00
Minor tweak to new metadata.
This commit is contained in:
parent
09d268495c
commit
c88d7e72f0
2 changed files with 2 additions and 2 deletions
|
@ -1226,7 +1226,7 @@ xs_dict *msg_actor(snac *snac)
|
||||||
else
|
else
|
||||||
if (xs_type(md) == XSTYPE_STRING) {
|
if (xs_type(md) == XSTYPE_STRING) {
|
||||||
metadata = xs_dict_new();
|
metadata = xs_dict_new();
|
||||||
xs *l = xs_split(md, "\r\n");
|
xs *l = xs_split(md, "\n");
|
||||||
const char *ll;
|
const char *ll;
|
||||||
|
|
||||||
xs_list_foreach(l, ll) {
|
xs_list_foreach(l, ll) {
|
||||||
|
|
2
html.c
2
html.c
|
@ -852,7 +852,7 @@ static xs_html *html_user_body(snac *user, int read_only)
|
||||||
if (xs_type(md) == XSTYPE_STRING) {
|
if (xs_type(md) == XSTYPE_STRING) {
|
||||||
/* convert to dict for easier iteration */
|
/* convert to dict for easier iteration */
|
||||||
metadata = xs_dict_new();
|
metadata = xs_dict_new();
|
||||||
xs *l = xs_split(md, "\r\n");
|
xs *l = xs_split(md, "\n");
|
||||||
const char *ll;
|
const char *ll;
|
||||||
|
|
||||||
xs_list_foreach(l, ll) {
|
xs_list_foreach(l, ll) {
|
||||||
|
|
Loading…
Reference in a new issue