diff --git a/CHANGELOG.md b/CHANGELOG.md index aa3319a..23d3997 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ # Change Log +## [__0.8.1__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.8.1) +Fixed list alignment bug in iOS12
## [__0.8.0__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.8.0) Improved Paragraph layout
Improved List Item layout
diff --git a/Classes/GONMarkupListItem.m b/Classes/GONMarkupListItem.m index 3672624..8c166e4 100644 --- a/Classes/GONMarkupListItem.m +++ b/Classes/GONMarkupListItem.m @@ -74,7 +74,7 @@ - (void)openingMarkupFound:(NSString *)tag resultString:resultString]; // Compute prefix string width - paragraphStyle.headIndent = CGRectGetWidth([prefixString boundingRectWithSize:CGSizeMake(CGFLOAT_MAX, 1) + paragraphStyle.headIndent = CGRectGetWidth([prefixString boundingRectWithSize:CGSizeMake(CGFLOAT_MAX, CGFLOAT_MAX) options:NSStringDrawingUsesLineFragmentOrigin context:nil]); } diff --git a/GONMarkupParser.podspec b/GONMarkupParser.podspec index f298e70..e093fdc 100644 --- a/GONMarkupParser.podspec +++ b/GONMarkupParser.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "GONMarkupParser" - s.version = "0.8.0" + s.version = "0.8.1" s.summary = "NSAttributedString generation from NSString using XML, that can be easily extended." s.platform = :ios, "7.0" s.description = <<-DESC