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
1 changed files with 2 additions and 3 deletions

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 }