diff --git a/Sources/Markdown/Parser/BlockDirectiveParser.swift b/Sources/Markdown/Parser/BlockDirectiveParser.swift index 6c21ce45..95d15444 100644 --- a/Sources/Markdown/Parser/BlockDirectiveParser.swift +++ b/Sources/Markdown/Parser/BlockDirectiveParser.swift @@ -190,9 +190,7 @@ struct PendingBlockDirective { let leadingSpacingCount = line.untrimmedText.count - textCount - trailingWhiteSpaceCount - 1 innerIndentationColumnCount = leadingSpacingCount // Should we add a new property for this kind of usage? - let startIndex = line.untrimmedText.startIndex - let endIndex = line.untrimmedText.index(startIndex, offsetBy: leadingSpacingCount) - let newLine = line.untrimmedText.replacingCharacters(in: startIndex..