Skip to content

Commit 8afb1cd

Browse files
committed
Improve extensibility of class AttributedStringGenerator.
1 parent 1f97b18 commit 8afb1cd

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 1.0.2 (2020-10-04)
4+
- Improved extensibility of `AttributedStringGenerator` class
5+
36
## 1.0.1 (2020-10-04)
47
- Ported to Swift 5.3
58
- Migrated project to Xcode 12.0

MarkdownKit.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@
615615
"@executable_path/../Frameworks",
616616
"@loader_path/Frameworks",
617617
);
618-
MARKETING_VERSION = 1.0.1;
618+
MARKETING_VERSION = 1.0.2;
619619
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.MarkdownKit;
620620
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
621621
SKIP_INSTALL = YES;
@@ -644,7 +644,7 @@
644644
"@executable_path/../Frameworks",
645645
"@loader_path/Frameworks",
646646
);
647-
MARKETING_VERSION = 1.0.1;
647+
MARKETING_VERSION = 1.0.2;
648648
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.MarkdownKit;
649649
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
650650
SKIP_INSTALL = YES;

Sources/MarkdownKit/AttributedString/AttributedStringGenerator.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ open class AttributedStringGenerator {
3333
open class InternalHtmlGenerator: HtmlGenerator {
3434
weak var outer: AttributedStringGenerator?
3535

36-
init(outer: AttributedStringGenerator) {
36+
public init(outer: AttributedStringGenerator) {
3737
self.outer = outer
3838
}
3939

@@ -212,7 +212,7 @@ open class AttributedStringGenerator {
212212
documentAttributes: nil)
213213
}
214214

215-
public var htmlGenerator: HtmlGenerator {
215+
open var htmlGenerator: HtmlGenerator {
216216
return InternalHtmlGenerator(outer: self)
217217
}
218218

Tests/MarkdownKitTests/Info.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>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0.1</string>
18+
<string>1.0.2</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
</dict>

0 commit comments

Comments
 (0)