Skip to content

Commit

Permalink
re-fix trailing spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
nhirschey committed Nov 19, 2022
1 parent b162b21 commit 94e833a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FSharp.Formatting.ApiDocs/GenerateModel.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1878,7 +1878,7 @@ module internal SymbolReader =
html.Append("</code>") |> ignore
| "code" ->
let code =
let code = Literate.ParseMarkdownString("```\n" + elem.Value + "\n```")
let code = Literate.ParseMarkdownString("```\n" + elem.Value.TrimEnd('\r', '\n', ' ') + "\n```")
Literate.ToHtml(code, lineNumbers = false)

html.Append(code) |> ignore
Expand Down

0 comments on commit 94e833a

Please sign in to comment.