Skip to content

Commit b0d317c

Browse files
committed
Merge branch 'release/3.0.1'
2 parents b988f46 + c787212 commit b0d317c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Configs/SwiftRichString.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.0.0</string>
18+
<string>3.0.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Sources/SwiftRichString/Style/StyleGroup.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,14 +264,14 @@ public class StyleGroup: StyleProtocol {
264264
removeTag(index: index, with: "\n")
265265
continue
266266
}
267-
guard let attribute = self.styles[tag.name] else { continue }
267+
268268

269269
removeTag(index: index)
270270
if let closeIndex = tag.endingTagIndex {
271271
guard closeIndex < tagQueue.count else { continue }
272272
let closingTag = tagQueue[closeIndex]
273273
removeTag(index: closeIndex)
274-
274+
guard let attribute = self.styles[tag.name] else { continue }
275275
let location = tag.range.location
276276
let length = closingTag.range.location-location
277277
let range = NSRange(location: location, length: length)

SwiftRichString.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "SwiftRichString"
3-
s.version = "3.0.0"
3+
s.version = "3.0.1"
44
s.summary = "Elegant Strings & Attributed Strings Toolkit for Swift"
55
s.description = <<-DESC
66
SwiftRichString is the best toolkit to work easily with Strings and Attributed Strings.

0 commit comments

Comments
 (0)