fix: gif emoji uploading
fix: external image proxy
This commit is contained in:
parent
275dd0a1eb
commit
8e241b3435
5 changed files with 17 additions and 20 deletions
|
@ -39,7 +39,7 @@ pub fn render_markdown(input: &str) -> String {
|
|||
.to_string()
|
||||
.replace(
|
||||
"src=\"http",
|
||||
"loading=\"lazy\" src=\"/api/v1/util/proxy?url=",
|
||||
"loading=\"lazy\" src=\"/api/v1/util/proxy?url=http",
|
||||
)
|
||||
.replace("<video loading=", "<video controls loading=")
|
||||
.replace("-->", "<align class=\"right\">")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue