Skip to content

Commit 19bd62c

Browse files
committed
fix bug realted to non-selfhosted crypto-js
1 parent 09c7967 commit 19bd62c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Install the package from source with pip:
6969
```bash
7070
cd mkdocs-encryptcontent-plugin/
7171
python setup.py sdist bdist_wheel
72-
pip install --force-reinstall --no-deps dist/mkdocs_encryptcontent_plugin-2.5.1-py3-none-any.whl
72+
pip install --force-reinstall --no-deps dist/mkdocs_encryptcontent_plugin-2.5.2-py3-none-any.whl
7373
```
7474

7575
Enable the plugin in your `mkdocs.yml`:

encryptcontent/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def __encrypt_content__(self, content, base_path, encryptcontent_path, encryptco
147147
if self.config["selfhost"]:
148148
js_libraries.append(base_path + 'assets/javascripts/cryptojs/' + jsurl[0].rsplit('/',1)[1])
149149
else:
150-
js_libraries = jsurl[0]
150+
js_libraries.append(jsurl[0])
151151

152152
obfuscate = encryptcontent.get('obfuscate')
153153
if obfuscate:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def read(fname):
1111

1212
setup(
1313
name='mkdocs-encryptcontent-plugin',
14-
version='2.5.1',
14+
version='2.5.2',
1515
author='unverbuggt',
1616
author_email='[email protected]',
1717
description='A MkDocs plugin that encrypt/decrypt markdown content with AES',

0 commit comments

Comments
 (0)