Skip to content

Commit

Permalink
Fix generated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cesaryuan committed Oct 24, 2024
1 parent 60ba458 commit 483dece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metascoop/md/generate_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
var tmpl = template.Must(template.New("").Funcs(template.FuncMap{
"replace": strings.ReplaceAll,
"handleSummary": func(s string) template.HTML {
return template.HTML(strings.ReplaceAll(s, "\n", "<br>"))
return template.HTML(strings.ReplaceAll(strings.ReplaceAll(s, "\n", "<br>"), "|", "\\|"))
},
}).Parse(tableTmpl))

Expand Down

0 comments on commit 483dece

Please sign in to comment.