Skip to content

Commit e0c558e

Browse files
committed
Fix visibility issue
1 parent c3f524b commit e0c558e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies: [
1313

1414
## Usage
1515

16-
This extension add 2 properties to `String`.
16+
This package adds 2 properties to `String`.
1717

1818
- `htmlToString`:
1919

Sources/DecodeHTML/DecodeHTML.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//
22
// DecodeHTML.swift
33
//
4-
// Created by TheFlow_ on 01/03/2015.
5-
// Copyright (c) 2015 TheFlow_. All rights reserved.
4+
// Created by Florentin on 01/03/2015.
5+
// Copyright (c) 2015 Florentin. All rights reserved.
66
//
77

88
import Foundation
99

1010
extension String {
11-
var htmlToString: String? {
11+
public var htmlToString: String? {
1212
return htmlToAttributedString?.string
1313
}
1414

15-
var htmlToAttributedString: NSAttributedString? {
15+
public var htmlToAttributedString: NSAttributedString? {
1616
if let data = data(using: .utf8) {
1717
return try? NSAttributedString(data: data, options: [.documentType: NSAttributedString.DocumentType.html, .characterEncoding: Encoding.utf8], documentAttributes: nil)
1818
}

0 commit comments

Comments
 (0)