mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #502] [MERGED] Fix CodeInline to plain text incorrect escape #1064
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/xoofx/markdig/pull/502
Author: @yufeih
Created: 1/12/2021
Status: ✅ Merged
Merged: 1/14/2021
Merged by: @xoofx
Base:
master← Head:code-inline-plain-text📝 Commits (1)
a8ec3c1Fix CodeInline to plain text incorrect escape📊 Changes
2 files changed (+9 additions, -1 deletions)
View changed files
📝
src/Markdig.Tests/TestPlainText.cs(+1 -0)📝
src/Markdig/Renderers/Html/Inlines/CodeInlineRenderer.cs(+8 -1)📄 Description
Fixes #495
This PR fixes
CodeInlineRendererthe same way as LiteralInlineRenderer by checkingEnableHtmlEscapeand call different methods accordingly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.