From 1bd2593f8a3fa29c538d67c053fd11df4f3ea902 Mon Sep 17 00:00:00 2001 From: "quentin.moutte.etu" Date: Sun, 29 Sep 2024 13:32:56 +0200 Subject: [PATCH] Removing string variable from visitAnnotated: method of MicTextualMicrodownExporter --- .../MicTextualMicrodownExporter.class.st | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Microdown-PrettyPrinter/MicTextualMicrodownExporter.class.st b/src/Microdown-PrettyPrinter/MicTextualMicrodownExporter.class.st index 3ee4e1d2..9c6ad02f 100644 --- a/src/Microdown-PrettyPrinter/MicTextualMicrodownExporter.class.st +++ b/src/Microdown-PrettyPrinter/MicTextualMicrodownExporter.class.st @@ -122,11 +122,9 @@ MicTextualMicrodownExporter >> visitAnchorReference: anAnchorReference [ { #category : 'visit - block' } MicTextualMicrodownExporter >> visitAnnotated: anAnnotated [ - | string textualExporter | - string := ''. + | textualExporter | textualExporter := MicTextualMicrodownExporter new. - anAnnotated children do: [ :each | - each accept: textualExporter ]. + anAnnotated children do: [ :each | each accept: textualExporter ]. builder annotated: anAnnotated label