Improving tiddler testing for image type.

This commit is contained in:
ruidajo 2022-10-30 23:33:01 -05:00
parent fbfb5fbf7d
commit cdd8607532

View File

@ -308,7 +308,8 @@ Tiddler >> installTiddlerExporter [
{ #category : #testing }
Tiddler >> isImage [
^ self type = 'image/'
^ self type ifNil: [ ^ false ];
beginsWith: 'image/'
]
{ #category : #testing }