Improving metadata cleaning.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-02-11 15:56:21 -05:00
parent bac482eab8
commit 19ce9f87b2

View File

@ -121,5 +121,7 @@ LePage >> preorderTraversal [
{ #category : #'*Grafoscopio-Utils-Core' } { #category : #'*Grafoscopio-Utils-Core' }
LePage >> removeSnippetsMetadata [ LePage >> removeSnippetsMetadata [
self preorderTraversal do: [ :snippet | snippet options removeKey: 'metadata' ] self preorderTraversal do: [ :snippet |
(snippet options isNotNil and: [ snippet options includesKey: 'metadata' ])
ifTrue: [ snippet options removeKey: 'metadata' ] ]
] ]