Skip to content

Normalize input line endings and make output line endings configurable#421

Merged
mysticmind merged 1 commit intomasterfrom
fix_23
Feb 24, 2026
Merged

Normalize input line endings and make output line endings configurable#421
mysticmind merged 1 commit intomasterfrom
fix_23

Conversation

@mysticmind
Copy link
Owner

  • Normalize HTML input to \n before parsing for consistent conversion.
  • Add Config.OutputLineEnding to control output newlines (defaults to Environment.NewLine).
  • Apply output line ending normalization across all return paths.
  • Add test for output line ending normalization with mixed CR/LF input.
  • Document OutputLineEnding in README.

Fixes GH-23

- Normalize HTML input to \n before parsing for consistent conversion.
- Add Config.OutputLineEnding to control output newlines (defaults to Environment.NewLine).
- Apply output line ending normalization across all return paths.
- Add test for output line ending normalization with mixed CR/LF input.
- Document OutputLineEnding in README.
@mysticmind mysticmind added this to the 5.2.0 milestone Feb 24, 2026
@mysticmind mysticmind merged commit 0b9d60d into master Feb 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

table cells and pre not correct convertet.

1 participant