diff --git a/Package.swift b/Package.swift index 3ad6fb5..603aa39 100644 --- a/Package.swift +++ b/Package.swift @@ -9,7 +9,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/vapor/template-kit.git", from: "1.4.0"), - .package(url: "https://github.com/vapor-community/markdown.git", from: "0.5.0"), + .package(url: "https://github.com/vapor-community/markdown.git", from: "0.6.1"), .package(url: "https://github.com/vapor/leaf.git", from: "3.0.0"), ], targets: [ diff --git a/Tests/LeafMarkdownTests/LeafTests.swift b/Tests/LeafMarkdownTests/LeafTests.swift index 73c3592..f1e83fb 100644 --- a/Tests/LeafMarkdownTests/LeafTests.swift +++ b/Tests/LeafMarkdownTests/LeafTests.swift @@ -56,7 +56,7 @@ class LeafTests: XCTestCase { let queue = EmbeddedEventLoop() let container = BasicContainer(config: .init(), environment: .testing, services: .init(), on: queue) - let tag = Markdown(options: []) + let tag = Markdown(options: [.unsafe]) var leafTagConfig = LeafTagConfig.default() leafTagConfig.use(tag, as: tag.name) let renderer = LeafRenderer(config: LeafConfig(tags: leafTagConfig, viewsDir: "", shouldCache: false),