From 97e2e500154029bc399f441c52c5414b8dbdfa05 Mon Sep 17 00:00:00 2001 From: httpjamesm Date: Wed, 28 Dec 2022 19:10:27 -0500 Subject: [PATCH] fix: remove debug statements --- src/routes/question.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/routes/question.go b/src/routes/question.go index 0374bb8..a96fbf6 100644 --- a/src/routes/question.go +++ b/src/routes/question.go @@ -53,11 +53,9 @@ func ViewQuestion(c *gin.Context) { answerCodeBlocks := questionCodeBlockRegex.FindAllString(questionBodyParentHTML, -1) for _, codeBlock := range answerCodeBlocks { codeBlock = utils.StripBlockTags(codeBlock) - fmt.Println(codeBlock) // syntax highlight highlightedCodeBlock := utils.HighlightSyntaxViaContent(codeBlock) - fmt.Println(highlightedCodeBlock) // replace the code block with the highlighted code block questionBodyParentHTML = strings.Replace(questionBodyParentHTML, codeBlock, highlightedCodeBlock, 1)