Improving metadata cleaning.
This commit is contained in:
parent
bac482eab8
commit
19ce9f87b2
@ -121,5 +121,7 @@ LePage >> preorderTraversal [
|
||||
|
||||
{ #category : #'*Grafoscopio-Utils-Core' }
|
||||
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' ] ]
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user