diff options
author | Chocobozzz <chocobozzz@cpy.re> | 2021-05-27 15:59:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 15:59:55 +0200 |
commit | 2539932e16129992a2c0889b4ff527c265a8e2c7 (patch) | |
tree | fb5048e63e02a2485eb96d27455f43e4b22e8ae0 /client/src/app/app.component.ts | |
parent | eb34ec30e0b57286fc6f85160490d2e973a3b0b1 (diff) | |
download | PeerTube-2539932e16129992a2c0889b4ff527c265a8e2c7.tar.gz PeerTube-2539932e16129992a2c0889b4ff527c265a8e2c7.tar.zst PeerTube-2539932e16129992a2c0889b4ff527c265a8e2c7.zip |
Instance homepage support (#4007)
* Prepare homepage parsers
* Add ability to update instance hompage
* Add ability to set homepage as landing page
* Add homepage preview in admin
* Dynamically update left menu for homepage
* Inject home content in homepage
* Add videos list and channel miniature custom markup
* Remove unused elements in markup service
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 239e275a4..863c3f3b5 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -231,7 +231,7 @@ export class AppComponent implements OnInit, AfterViewInit { | |||
231 | } | 231 | } |
232 | 232 | ||
233 | this.broadcastMessage = { | 233 | this.broadcastMessage = { |
234 | message: await this.markdownService.completeMarkdownToHTML(messageConfig.message), | 234 | message: await this.markdownService.unsafeMarkdownToHTML(messageConfig.message, true), |
235 | dismissable: messageConfig.dismissable, | 235 | dismissable: messageConfig.dismissable, |
236 | class: classes[messageConfig.level] | 236 | class: classes[messageConfig.level] |
237 | } | 237 | } |