diff --git a/internal/parser/elf/parser.go b/internal/parser/elf/parser.go index 2d2eaea..835b57c 100644 --- a/internal/parser/elf/parser.go +++ b/internal/parser/elf/parser.go @@ -48,7 +48,7 @@ func (p *Elf) parse(executorResult stage.ExecutorResult, conf Conf) stage.Parser // ":\n below reaches a parentheses depths of :\n" comment += fmt.Sprintf( "%s:\n%s below reaches a parentheses depths of %d:\n"+ - "```%s\n```\n", + "%s\n", caseObj.Binders, caseObj.Context, caseObj.Depths, @@ -59,7 +59,7 @@ func (p *Elf) parse(executorResult stage.ExecutorResult, conf Conf) stage.Parser comment += fmt.Sprintf( "%s:\n%s below excceeds a code length "+ "upper bound with %d (weighed: %f):\n"+ - "```%s\n```\n", + "%s\n", caseObj.Binders, caseObj.Context, caseObj.Plain, @@ -69,7 +69,7 @@ func (p *Elf) parse(executorResult stage.ExecutorResult, conf Conf) stage.Parser case "OverArity": // ":\n below hits :\n" comment += fmt.Sprintf( - "%s:\n%s below hits %s:\n```%s\n```\n", + "%s:\n%s below hits %s:\n%s\n", caseObj.Binders, caseObj.Context, caseObj.Detail, @@ -86,8 +86,8 @@ func (p *Elf) parse(executorResult stage.ExecutorResult, conf Conf) stage.Parser // "The code below has a similarity rate of :\n- :\n\t\n- :\n\t" comment += fmt.Sprintf( "The code below has a similarity rate of %f:\n"+ - "- %s:\n```%s\n```\n"+ - "- %s:\n```%s\n```\n", + "- %s:\n%s\n"+ + "- %s:\n%s\n", caseObj.SimilarityRate, context0, code0,