Skip to content

Commit

Permalink
Handle empty HTML template file
Browse files Browse the repository at this point in the history
  • Loading branch information
essenciary committed Feb 29, 2024
1 parent 52ebf69 commit 55fcd16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Genie"
uuid = "c43c736e-a2d1-11e8-161f-af95117fbd1e"
authors = ["Adrian Salceanu <[email protected]> and the amazing Genie contributors ♥️"]
version = "5.26.1"
version = "5.26.2"

[deps]
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
Expand Down
3 changes: 3 additions & 0 deletions src/renderers/Html.jl
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,9 @@ function parsehtml(elem::HTMLParser.Node; partial::Bool = true, indent = 0) :: S

String(take!(io))
end
function parsehtml(::Nothing; kwargs...) :: String
""
end


function parsenode(elem::HTMLParser.Node; partial::Bool = true) :: String
Expand Down

2 comments on commit 55fcd16

@essenciary
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/101985

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v5.26.2 -m "<description of version>" 55fcd169ef111680d9ec52f13a53f59749fc1d3b
git push origin v5.26.2

Please sign in to comment.