Skip to content

Fix issue where an inline code block that spans multiple lines doesn't parse correctly#893

Merged
xoofx merged 10 commits intoxoofx:masterfrom
phillip-haydon:ph/fix-inline-multiline-code-block
Oct 3, 2025
Merged

Fix issue where an inline code block that spans multiple lines doesn't parse correctly#893
xoofx merged 10 commits intoxoofx:masterfrom
phillip-haydon:ph/fix-inline-multiline-code-block

Conversation

@phillip-haydon
Copy link
Copy Markdown
Contributor

Based on feedback from PR #891 - this PR fixes inline code block that spans multiple lines.

`
|| hidden text ||
`

Comment thread src/Markdig/Helpers/HtmlHelper.cs
@phillip-haydon
Copy link
Copy Markdown
Contributor Author

@MihaZupan if you don't mind taking a look at this PR please.

Comment thread src/Markdig/Extensions/Tables/PipeTableParser.cs Outdated
Comment thread src/Markdig.Tests/TestPipeTable.cs
Comment thread src/Markdig.Tests/TestPipeTable.cs Outdated
Comment thread src/Markdig.Tests/TestPipeTable.cs Outdated
Comment thread src/Markdig.Tests/TestPipeTable.cs Outdated
Comment thread src/Markdig/Helpers/HtmlHelper.cs
phillip-haydon and others added 5 commits September 24, 2025 14:12
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
Comment thread src/Markdig.Tests/TestPipeTable.cs Outdated
Comment thread src/Markdig.Tests/TestPipeTable.cs Outdated
xoofx and others added 3 commits September 26, 2025 06:22
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
@phillip-haydon
Copy link
Copy Markdown
Contributor Author

Anything else remaining?

Comment thread src/Markdig/Parsers/Inlines/CodeInlineParser.cs Outdated
Comment thread src/Markdig/Parsers/Inlines/CodeInlineParser.cs
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
@xoofx xoofx added the bug label Sep 30, 2025
@xoofx xoofx merged commit 5435702 into xoofx:master Oct 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants