mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add masto verification link support
This commit is contained in:
parent
5b4c7fc20d
commit
9bacc48643
19 changed files with 163 additions and 63 deletions
|
@ -29,7 +29,7 @@ const toSafeHtml = (text: string) => {
|
|||
return sanitizeHtml(html, defaultSanitizeOptions)
|
||||
}
|
||||
|
||||
const mdToOneLinePlainText = (text: string) => {
|
||||
const mdToPlainText = (text: string) => {
|
||||
if (!text) return ''
|
||||
|
||||
markdownItForPlainText.render(text)
|
||||
|
@ -42,7 +42,7 @@ const mdToOneLinePlainText = (text: string) => {
|
|||
|
||||
export {
|
||||
toSafeHtml,
|
||||
mdToOneLinePlainText
|
||||
mdToPlainText
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue