Generalizing links detection.
This commit is contained in:
parent
e8c7021bfa
commit
bde6c31869
@ -526,8 +526,13 @@ Tiddler >> rawAliasedLinks [
|
|||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
Tiddler >> rawLinks [
|
Tiddler >> rawLinks [
|
||||||
self text ifNil: [ ^ Set new ].
|
^ self rawLinksIn: self text
|
||||||
^ (WikiTextGrammar new linkSea star parse: self text) asSet
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
Tiddler >> rawLinksIn: aText [
|
||||||
|
aText ifNil: [ ^ Set new ].
|
||||||
|
^ (WikiTextGrammar new linkSea star parse: aText) asSet
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
|
Loading…
Reference in New Issue
Block a user