Improving tiddler testing for image type.

This commit is contained in:
ruidajo 2022-10-30 23:33:01 -05:00
parent fbfb5fbf7d
commit cdd8607532
1 changed files with 2 additions and 1 deletions

View File

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