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)