Skip to content

Preserve NewLine setting when using EscapeAtWriter#1032

Open
hartez wants to merge 2 commits into
statiqdev:mainfrom
hartez:fix-1031
Open

Preserve NewLine setting when using EscapeAtWriter#1032
hartez wants to merge 2 commits into
statiqdev:mainfrom
hartez:fix-1031

Conversation

@hartez
Copy link
Copy Markdown

@hartez hartez commented May 25, 2026

Fixes 1031

The setter for TextRendererBase.NewLine in Markdig forces the NewLine property to \n; this change tracks the previous NewLine setting before setting the .Writer property to the EscapeAtWriter and makes sure to re-set it.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 25, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

EscapeAt extension resets line endings set by ConfigureNewListExtension

2 participants