From 0e29f1f5bb68a48d9b837d7f4e0a16370734955b Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 9 May 2023 12:16:10 +0200 Subject: [feature] Enable federation in/out of profile PropertyValue fields (#1722) Co-authored-by: kim Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> --- internal/text/formatter.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/text/formatter.go') diff --git a/internal/text/formatter.go b/internal/text/formatter.go index 212d2b58d..0e5e0b554 100644 --- a/internal/text/formatter.go +++ b/internal/text/formatter.go @@ -30,6 +30,8 @@ import ( type Formatter interface { // FromPlain parses an HTML text from a plaintext. FromPlain(ctx context.Context, pmf gtsmodel.ParseMentionFunc, authorID string, statusID string, plain string) *FormatResult + // FromPlainNoParagraph parses an HTML text from a plaintext, without wrapping the resulting text in

tags. + FromPlainNoParagraph(ctx context.Context, pmf gtsmodel.ParseMentionFunc, authorID string, statusID string, plain string) *FormatResult // FromMarkdown parses an HTML text from a markdown-formatted text. FromMarkdown(ctx context.Context, pmf gtsmodel.ParseMentionFunc, authorID string, statusID string, md string) *FormatResult // FromPlainEmojiOnly parses an HTML text from a plaintext, only parsing emojis and not mentions etc. -- cgit v1.2.3