Addressing emtpy captios for images.
This commit is contained in:
parent
d011f9c1c1
commit
90fa52653f
@ -3,8 +3,8 @@ Extension { #name : #LePictureSnippet }
|
|||||||
{ #category : #'*MiniDocs' }
|
{ #category : #'*MiniDocs' }
|
||||||
LePictureSnippet >> asMarkdeep [
|
LePictureSnippet >> asMarkdeep [
|
||||||
| output curatedCaption captionLines |
|
| output curatedCaption captionLines |
|
||||||
captionLines := self caption lines.
|
captionLines := self caption lines.
|
||||||
(captionLines size = 1)
|
(captionLines size <= 1)
|
||||||
ifTrue: [ curatedCaption := caption ]
|
ifTrue: [ curatedCaption := caption ]
|
||||||
ifFalse: [
|
ifFalse: [
|
||||||
curatedCaption := WriteStream on: ''.
|
curatedCaption := WriteStream on: ''.
|
||||||
|
Loading…
Reference in New Issue
Block a user