Generalizing links detection.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2024-08-11 18:01:47 -05:00
parent e8c7021bfa
commit bde6c31869

View File

@ -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 }