diff --git a/src/MiniDocs/Markdeep.class.st b/src/MiniDocs/Markdeep.class.st index 2479817..4bc28dd 100644 --- a/src/MiniDocs/Markdeep.class.st +++ b/src/MiniDocs/Markdeep.class.st @@ -478,6 +478,7 @@ Markdeep >> removeCCByLicenseDiv [ Markdeep >> renamePubPubFootnotes [ | reformated bodyLines beforeFootnotes afterFootnotesRaw afterFootnotes newBodyLines response | reformated := self reformatPubPubFootnotes. + (self pubPubFootnotesLinesRangeForBody class = Markdeep) ifTrue: [ ^self ]. bodyLines := self body lines. beforeFootnotes := bodyLines copyFrom: 1 to: self pubPubFootnotesLinesRangeForBody first . afterFootnotesRaw := bodyLines copyFrom: self pubPubFootnotesLinesRangeForBody second to: bodyLines size.