Skip to content

Commit

Permalink
fix: hex conversion in javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkrzyskow committed Sep 25, 2024
1 parent d3ba0de commit 3467a9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mkdocs_nype/templates/assets/javascripts/nype-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const _gNypeDebug = function () {
};

const _gNypeConvertHexToString = (hexData) => {
if (!hexData) return hexData;
return atob(String.fromCharCode(...hexData.match(/.{1,2}/g).map(byte => parseInt(byte, 16))));
};

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "hatchling.build"

[project]
name = "mkdocs-nype"
version = "0.16.6"
version = "0.16.7"
description = "MkDocs theme for Nype MkDocs projects, extends the Material for MkDocs theme"
authors = [
{ name = "Kamil Krzyśków", email = "[email protected]" }
Expand Down

0 comments on commit 3467a9c

Please sign in to comment.