We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46ae23e commit 27b9b60Copy full SHA for 27b9b60
src/renderers.jl
@@ -1,10 +1,10 @@
1
render(::Nothing, args...) = nothing
2
3
function render(brand_image::BrandImage, dir, thispagepath)
4
- href = startswith(brand_image.path, "https?://") ?
+ href = startswith(brand_image.path, r"https?://") ?
5
brand_image.path :
6
relpath(joinpath(dir, brand_image.path), thispagepath)
7
- src = startswith(brand_image.imagepath, "https?://") ?
+ src = startswith(brand_image.imagepath, r"https?://") ?
8
brand_image.imagepath :
9
relpath(joinpath(dir, brand_image.imagepath), thispagepath)
10
return @htl """
0 commit comments