Fuzi
Fuzi copied to clipboard
an additional space at the end when parse plain text by HTMLDocument
Description:
-
Expected behaviour: plain text:
hello
parsed html:<p>hello</p>
-
Actual behaviour: plain text:
hello
parsed html:<p>hello </p>
Environment
-
Package Manager:
- [ ] Carthage, version:
- [x] CocoaPods, version: 1.9.1
- [ ] Manually
-
Fuzi version: 3.1.2
-
Xcode version: 11.4.1
How to reproduce:
HTMLDocument(string: "hello", encoding: .utf8)