diff options
| author | 2024-11-23 17:16:31 +0100 | |
|---|---|---|
| committer | 2024-11-23 17:16:31 +0100 | |
| commit | c88d7e72f0531114e7e000f79ee6ce9a11f23952 (patch) | |
| tree | 9b2a126ebd869da9e3ee9c52e505728356f69e38 /html.c | |
| parent | The 'metadata' field in user.json is now a string instead of a dict. (diff) | |
| download | snac2-c88d7e72f0531114e7e000f79ee6ce9a11f23952.tar.gz snac2-c88d7e72f0531114e7e000f79ee6ce9a11f23952.tar.xz snac2-c88d7e72f0531114e7e000f79ee6ce9a11f23952.zip | |
Minor tweak to new metadata.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -852,7 +852,7 @@ static xs_html *html_user_body(snac *user, int read_only) | |||
| 852 | if (xs_type(md) == XSTYPE_STRING) { | 852 | if (xs_type(md) == XSTYPE_STRING) { |
| 853 | /* convert to dict for easier iteration */ | 853 | /* convert to dict for easier iteration */ |
| 854 | metadata = xs_dict_new(); | 854 | metadata = xs_dict_new(); |
| 855 | xs *l = xs_split(md, "\r\n"); | 855 | xs *l = xs_split(md, "\n"); |
| 856 | const char *ll; | 856 | const char *ll; |
| 857 | 857 | ||
| 858 | xs_list_foreach(l, ll) { | 858 | xs_list_foreach(l, ll) { |