Skip to content

Commit

Permalink
fix(markdown): revert
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Apr 16, 2023
1 parent 798e3ae commit d767be9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/noice/text/markdown.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ end
function M.parse(text, opts)
opts = opts or {}
---@type string
text = text:gsub("</?pre>", "```"):gsub("\r", ""):gsub("</?code>", "`")
text = text:gsub("</?pre>", "```"):gsub("\r", "")
-- text = text:gsub("</?code>", "`")
text = M.html_entities(text)

---@type Markdown
Expand Down

0 comments on commit d767be9

Please sign in to comment.