diff --git a/internal/text/markdown_test.go b/internal/text/markdown_test.go index 0aed299ae..923487978 100644 --- a/internal/text/markdown_test.go +++ b/internal/text/markdown_test.go @@ -57,7 +57,7 @@ const ( mdWithCheekyHTML = "# Title\n\nHere's a simple text in markdown.\n\nHere's a cheeky little script: " mdWithCheekyHTMLExpected = "

Title

Here's a simple text in markdown.

Here's a cheeky little script:

" mdWithHashtagInitial = "#welcome #Hashtag" - mdWithHashtagInitialExpected = "

#welcome #Hashtag

" + mdWithHashtagInitialExpected = "

#welcome #Hashtag

" mdCodeBlockWithNewlines = "some code coming up\n\n```\n\n\n\n```\nthat was some code" mdCodeBlockWithNewlinesExpected = "

some code coming up

\n\n\n

that was some code

" mdWithFootnote = "fox mulder,fbi.[^1]\n\n[^1]: federated bureau of investigation" diff --git a/internal/text/plain_test.go b/internal/text/plain_test.go index 594c5e13e..3f43d987a 100644 --- a/internal/text/plain_test.go +++ b/internal/text/plain_test.go @@ -29,8 +29,8 @@ const ( simpleExpected = "

this is a plain and simple status

" simpleExpectedNoParagraph = "this is a plain and simple status" withTag = "here's a simple status that uses hashtag #welcome!" - withTagExpected = "

here's a simple status that uses hashtag #welcome!

" - withTagExpectedNoParagraph = "here's a simple status that uses hashtag #welcome!" + withTagExpected = "

here's a simple status that uses hashtag #welcome!

" + withTagExpectedNoParagraph = "here's a simple status that uses hashtag #welcome!" withHTML = "
blah this should just be html escaped blah
" withHTMLExpected = "

<div>blah this should just be html escaped blah</div>

" moreComplex = "Another test @foss_satan@fossbros-anonymous.io\n\n#Hashtag\n\nText\n\n:rainbow:"