Skip to content

Commit a263075

Browse files
committed
fix?
1 parent 287e75f commit a263075

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/HTML_Entities.jl

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ struct HTML_Table{T} <: AbstractEntityTable
2828
ind2c::Vector{UInt16}
2929
end
3030

31+
const DATA_PATH = @path joinpath(@__DIR__, "../data", "html.dat")
32+
3133
function __init__()
32-
global default =
33-
HTML_Table(StrTables.load(@path(joinpath(@__DIR__, "../data", "html.dat")))...)
34+
global default = HTML_Table(StrTables.load(DATA_PATH)...)
3435
nothing
3536
end
3637
end # module HTML_Entities

0 commit comments

Comments
 (0)