diff --git a/src/Microdown-RichTextComposer/MicSemanticAction.class.st b/src/Microdown-RichTextComposer/MicSemanticAction.class.st index 63237749..8db6e33d 100644 --- a/src/Microdown-RichTextComposer/MicSemanticAction.class.st +++ b/src/Microdown-RichTextComposer/MicSemanticAction.class.st @@ -134,7 +134,7 @@ MicSemanticAction >> getMetaClassOrNil [ { #category : 'instance creation' } MicSemanticAction >> getPackageOrNil [ - entity := RPackageOrganizer default packageNamed: tokens first asString ifAbsent: [ nil ]. + entity := self class packageOrganizer packageNamed: tokens first asString ifAbsent: [ nil ]. ^ entity ] diff --git a/src/Microdown-RichTextComposer/MicrodownParser.extension.st b/src/Microdown-RichTextComposer/MicrodownParser.extension.st index 40f674c8..ca23a5a9 100644 --- a/src/Microdown-RichTextComposer/MicrodownParser.extension.st +++ b/src/Microdown-RichTextComposer/MicrodownParser.extension.st @@ -1,6 +1,6 @@ Extension { #name : 'MicrodownParser' } { #category : '*Microdown-RichTextComposer' } -MicrodownParser classSide >> convertToRichText: aString [ +MicrodownParser class >> convertToRichText: aString [ ^ MicRichTextComposer new visit: (self new parse: aString) ]