Skip to content

Commit

Permalink
fix all broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub committed Jun 28, 2023
1 parent 3a5051f commit 4632907
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 3 deletions.
59 changes: 57 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/controller/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ pub(super) fn md2html(md: &str) -> String {
.allowed_classes(hashmap!["span" => hashset!["replytag"]])
.tag_attributes(hashmap! {
"pre" => hashset!["style"],
"span" => hashset!["style"]
"span" => hashset!["style"],
"a" => hashset!["href"],
})
.clean(&html_output)
.to_string()
Expand Down

0 comments on commit 4632907

Please sign in to comment.