11 lines
282 B
Smalltalk
11 lines
282 B
Smalltalk
|
Extension { #name : #LeTextSnippet }
|
||
|
|
||
|
{ #category : #'*Grafoscopio-Utils-Core' }
|
||
|
LeTextSnippet >> contentFrom: markdeepDiv [
|
||
|
| sanitized |
|
||
|
sanitized := markdeepDiv contentString.
|
||
|
sanitized := sanitized allButFirst.
|
||
|
sanitized := sanitized allButLast.
|
||
|
self string: sanitized.
|
||
|
]
|