Skip to content

RenderDocumentToText adds an extra newline #21

@seanomaly

Description

@seanomaly

If I do this ConsoleRenderer.RenderDocument(doc); I get the output as expected.
But if I do this:
StringWriter sw = new StringWriter();
vs ConsoleRenderer.RenderDocumentAsText(doc, sw);
and then Console.WriteLine(sw.StringBuilder().toString());
There is an extra "\r\n" between each line.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions