Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Remove prefixed whitespace in markdown rendering
Gabe Kangas84d29efdd141
diff --git a/test/automated/configmanagement.test.js b/test/automated/configmanagement.test.jsindex d1010a4964..99cd4f69ce 100644--- a/test/automated/configmanagement.test.js+++ b/test/automated/configmanagement.test.js@@ -85,7 +85,7 @@ test('verify updated config values', async (done) => {const res = await request.get('/api/config');expect(res.body.name).toBe(serverName);expect(res.body.streamTitle).toBe(streamTitle);- expect(res.body.summary).toBe(serverSummary);+ expect(res.body.summary).toBe(`<p>${serverSummary}</p>`);expect(res.body.extraPageContent).toBe(pageContent);expect(res.body.logo).toBe('/logo');expect(res.body.socialHandles).toStrictEqual(socialHandles);diff --git a/utils/utils.go b/utils/utils.goindex 45ed69f0e6..9c4e437be3 100644--- a/utils/utils.go+++ b/utils/utils.go@@ -141,7 +141,7 @@ func RenderPageContentMarkdown(raw string) string {panic(err)}- return buf.String()+ return strings.TrimSpace(buf.String())}// GetCacheDurationSecondsForPath will return the number of seconds to cache an item.