add: custom emojis
fix: don't show reposts of posts from blocked users fix: don't show questions when they're from users you've blocked
This commit is contained in:
parent
9f187039e6
commit
275dd0a1eb
25 changed files with 697 additions and 61 deletions
|
@ -37,7 +37,10 @@ pub fn render_markdown(input: &str) -> String {
|
|||
.add_tag_attributes("a", &["href", "target"])
|
||||
.clean(&html)
|
||||
.to_string()
|
||||
.replace("src=\"", "loading=\"lazy\" src=\"/api/v1/util/proxy?url=")
|
||||
.replace(
|
||||
"src=\"http",
|
||||
"loading=\"lazy\" src=\"/api/v1/util/proxy?url=",
|
||||
)
|
||||
.replace("<video loading=", "<video controls loading=")
|
||||
.replace("-->", "<align class=\"right\">")
|
||||
.replace("->", "<align class=\"center\">")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue