Skip to content

Commit 66ff6ba

Browse files
authored
Merge pull request #237 from JuliaDocs/sp/htmlsanitizer-update
chore: update HTMLSanitizer
2 parents 222de51 + c4f8e61 commit 66ff6ba

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = "DocumentationGenerator"
22
uuid = "8f0d3306-d70b-5309-b898-24bb6ab47850"
33
authors = ["Sebastian Pfitzner <pfitzseb@physik.hu-berlin.de>", "Simon Danisch <sdanisch@gmail.com>", "Venkatesh Dayananda <venkatesh@juliacomputing.com>"]
44
repo = "https://github.com/JuliaDocs/DocumentationGenerator.jl.git"
5-
version = "0.8.2"
5+
version = "0.8.3"
66

77
[deps]
88
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
@@ -28,7 +28,7 @@ GitHub = "5.1, 5.2, 5.3, 5.4"
2828
GitForge = "0.4"
2929
GithubMarkdown = "0.2"
3030
Gumbo = "0.8"
31-
HTMLSanitizer = "0.2"
31+
HTMLSanitizer = "0.2.1"
3232
Highlights = "0.4, 0.5"
3333
JSON = "0.21"
3434
julia = "1.1"

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const julia = first(Base.julia_cmd())
55

66
@test length(keys(DocumentationGenerator.installable_on_version(joinpath(homedir(), ".julia", "registries", "General"), VERSION))) > 1500
77

8-
@test DocumentationGenerator.maybe_redirect("https://docs.julialang.org/") == "https://docs.julialang.org/en/v1"
8+
@test strip(DocumentationGenerator.maybe_redirect("https://docs.julialang.org/"), ['/']) == "https://docs.julialang.org/en/v1"
99

1010
@testset "Running code with a timeout" begin
1111
let
@@ -98,7 +98,7 @@ end
9898
success = [true],
9999
server_type = "github",
100100
api_url="",
101-
hosted_uri=["https://docs.sciml.ai/Overview/"],
101+
hosted_uri=["https://docs.sciml.ai/Overview"],
102102
doctype = ["hosted"],
103103
),
104104
# with docs
@@ -358,7 +358,7 @@ end
358358
@test pkgdoctype == pkg.doctype[i]
359359

360360
if pkg.doctype[i] == "hosted"
361-
@test get(toml, "hosted_uri", "") == pkg.hosted_uri[i]
361+
@test strip(get(toml, "hosted_uri", ""), ['/']) == pkg.hosted_uri[i]
362362
end
363363

364364
if pkginstalls == true

0 commit comments

Comments
 (0)