PubPub adding escape cases.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2023-05-16 11:33:35 -05:00
parent eeb2330fe8
commit 5ab022b860

View File

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