Fixing for nil values.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2023-03-05 21:25:06 -05:00
parent 781f6fde63
commit c8c50288cf

View File

@ -46,7 +46,7 @@ Markdeep >> authorsString [
{ #category : #accessing }
Markdeep >> body [
^ body
^ body ifNil: [^ '' ]
]
{ #category : #accessing }
@ -292,7 +292,6 @@ Markdeep >> options [
{ #category : #printing }
Markdeep >> printOn: aStream [
super printOn: aStream.
aStream
nextPutAll: '( ', self title accentedCharactersCorrection, ' )'
@ -451,7 +450,7 @@ Markdeep >> tail: anObject [
{ #category : #accessing }
Markdeep >> title [
^ title ifNil: [ title := self metadata at: 'title' ]
^ title ifNil: [ title := self metadata at: 'title' ifAbsent: [ '' ] ]
]
{ #category : #accessing }