diff --git a/src/Routes/Root.c b/src/Routes/Root.c index 1ebf14a..c681c2e 100644 --- a/src/Routes/Root.c +++ b/src/Routes/Root.c @@ -82,6 +82,12 @@ RouteHead(RouteRoot, arr, argp) } P(""); + P("

"); + { + P("Welcome, sysadmin! "); + } + P("

"); + P("

"); { P("Your homeserver now can interact with the bridge, with "); diff --git a/src/XEP-0393.c b/src/XEP-0393.c index a16bf9b..9ba986a 100644 --- a/src/XEP-0393.c +++ b/src/XEP-0393.c @@ -201,11 +201,6 @@ XEP393Decode(StrView view, XEP393Element *root) { Spanify(XEP393_MONO); } - else if (sol && IdentifySpans('>', '\n', subview, &span_view)) - { - /* TODO: This doesnt work with more than one line of quotes. */ - Spanify(XEP393_QUOT); - } else if (curr == '\n') { /* TODO: Remove this */ @@ -213,6 +208,11 @@ XEP393Decode(StrView view, XEP393Element *root) span_view.end = subview.start; Spanify(XEP393_NL); } + else if (IdentifySpans('>', '\n', subview, &span_view)) + { + /* TODO: This doesnt work with more than one line of quotes. */ + Spanify(XEP393_QUOT); + } else { /* Text character: update end */