Fixing for nil values.
This commit is contained in:
parent
781f6fde63
commit
c8c50288cf
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user