diff --git a/src/MiniDocs/LePictureSnippet.extension.st b/src/MiniDocs/LePictureSnippet.extension.st index 503e300..9848bc7 100644 --- a/src/MiniDocs/LePictureSnippet.extension.st +++ b/src/MiniDocs/LePictureSnippet.extension.st @@ -3,8 +3,8 @@ Extension { #name : #LePictureSnippet } { #category : #'*MiniDocs' } LePictureSnippet >> asMarkdeep [ | output curatedCaption captionLines | - captionLines := self caption lines. - (captionLines size = 1) + captionLines := self caption lines. + (captionLines size <= 1) ifTrue: [ curatedCaption := caption ] ifFalse: [ curatedCaption := WriteStream on: ''.