IceCubesApp/Packages/Models/Package.swift
Gareth Simpson 624d4766fa
Newer, better, faster HTML to Markdown converter (#610)
* This is a more correct html to markdown implementation.

It removes all the hacks and just uses the SwiftSoup parser correctly

It will fix issue #576 and also an unlogged issue with the old implementation that could corrupt urls with underscores in them.

* Better <br> / linefeed handling

* Cleanup

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-04 08:16:19 +01:00

31 lines
624 B
Swift

// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Models",
defaultLocalization: "en",
platforms: [
.iOS(.v16),
],
products: [
.library(
name: "Models",
targets: ["Models"]
),
],
dependencies: [
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.4.3"),
],
targets: [
.target(
name: "Models",
dependencies: ["SwiftSoup"]
),
.testTarget(
name: "ModelsTests",
dependencies: ["Models"]
),
]
)