Skip to content

Commit ed05f48

Browse files
committed
Merge changes made by Brett (@ttscoff) and Greg (@agiletortoise) in their forks.
1 parent 8c23245 commit ed05f48

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.DS_Store
2+
13
.build
24
.swiftpm
35
Package.resolved

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let package = Package(
77
.library(name: "HTML2Text", targets: ["HTML2Text"]),
88
],
99
dependencies: [
10-
.package(url: "https://github.com/ttscoff/SwiftSoup.git", from: "2.0.0"),
10+
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.0.0"),
1111
],
1212
targets: [
1313
.target(name: "HTML2Text", dependencies: ["SwiftSoup"]),

Sources/HTML2Text/html2text.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class HTML2Text: NodeVisitor {
6060
public let ESCAPE_SNOB = false
6161

6262
// Put the links after each paragraph instead of at the end.
63-
public let LINKS_EACH_PARAGRAPH = true
63+
public let LINKS_EACH_PARAGRAPH = false
6464

6565
// Wrap long lines at position. 0 for no wrapping. (Requires Python 2.3.)
6666
public let BODY_WIDTH = 0

0 commit comments

Comments
 (0)