Skip to content

Commit

Permalink
fix: url
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Dec 3, 2021
1 parent 583dff1 commit eaf0d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/xyz/cssxsh/mirai/plugin/WeiboUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ internal suspend fun MicroBlog.getContent(url: Boolean = true) = supervisorScope
if (url) {
acc.replace(struct.short, "[${struct.title}]<${struct.type}>(${struct.long})")
} else {
acc.replace(struct.short, struct.title)
acc.replace(struct.short, "[${struct.title}]")
}
}
}
Expand Down

0 comments on commit eaf0d06

Please sign in to comment.