Debugging YAML metadata detection.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2024-09-24 13:17:59 -05:00
parent 56ef3869ca
commit ecb4321551

View File

@ -50,7 +50,7 @@ Markdown >> body: aString [
{ #category : #operation }
Markdown >> commentYAMLMetadata [
| newContents |
self detectYAMLMetadata ifFalse: [ ^ self ].
self contents detectYAMLMetadata ifFalse: [ ^ self ].
newContents := '' writeStream.
newContents nextPutAll: '<!--@yaml'; lf.
newContents nextPutAll: self yamlMetadataString.