Skip to content

Commit cfa0fc1

Browse files
committed
Remove extra spaces.
1 parent a9e6c28 commit cfa0fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Aztec/Classes/TextKit/LayoutManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ extension LayoutManager {
368368
}
369369
let underlinedString = textStorage.attributedSubstring(from: glyphRange).string
370370
var updatedGlyphRange = glyphRange
371-
if glyphRange.endLocation == lineGlyphRange.endLocation,
371+
if glyphRange.endLocation == lineGlyphRange.endLocation,
372372
underlinedString.hasSuffix(String.init(.paragraphSeparator)) || underlinedString.hasSuffix(String.init(.lineSeparator)) || underlinedString.hasSuffix(String.init(.carriageReturn)) || underlinedString.hasSuffix(String.init(.lineFeed))
373373
{
374374
updatedGlyphRange = NSRange(location: glyphRange.location, length: glyphRange.length - 1)

0 commit comments

Comments
 (0)