Cleaning mixed line jumps.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2023-12-09 17:46:51 -05:00
parent 1d9cb57477
commit 8b424f4f03

View File

@ -77,7 +77,7 @@ Markdown >> contentsWithoutYAMLMetadata [
self detectYAMLMetadata ifFalse: [ ^ self ]. self detectYAMLMetadata ifFalse: [ ^ self ].
newContents := '' writeStream. newContents := '' writeStream.
(self lines copyFrom: self yamlMetadataClosingLineNumber + 2 to: self lines size) do: [ :line | (self lines copyFrom: self yamlMetadataClosingLineNumber + 2 to: self lines size) do: [ :line |
newContents nextPutAll: line; crlf ]. newContents nextPutAll: line; cr ].
^ newContents contents. ^ newContents contents.
] ]