fix: keep HTML escaped (#96)
This commit is contained in:
parent
0d7355bd46
commit
89126a7377
@ -246,7 +246,7 @@ func extractAnswersData(doc *goquery.Document, domain string) ([]types.FilteredA
|
|||||||
|
|
||||||
// Process code blocks within the answer.
|
// Process code blocks within the answer.
|
||||||
processedAnswerBody := utils.ProcessHTMLBody(answerBodyHTML)
|
processedAnswerBody := utils.ProcessHTMLBody(answerBodyHTML)
|
||||||
answer.Body = template.HTML(html.UnescapeString(processedAnswerBody))
|
answer.Body = template.HTML(processedAnswerBody)
|
||||||
|
|
||||||
// Extract author information and timestamp.
|
// Extract author information and timestamp.
|
||||||
extractAnswerAuthorInfo(s, &answer, domain)
|
extractAnswerAuthorInfo(s, &answer, domain)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user