fix GP link to example

pull/154/head
robinmoisson 2022-12-21 10:01:21 +01:00
rodzic 8c5d8f4635
commit 84c6286f66
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -47,7 +47,7 @@
</p>
<p>
Download your encrypted string in a HTML page with a password prompt you can upload anywhere (see <a
target="_blank" href="../example/example_encrypted.html">example</a>).
target="_blank" href="example/example_encrypted.html">example</a>).
</p>
<p>
The tool is also available as <a href="https://npmjs.com/package/staticrypt">a CLI on NPM</a> and is <a
@ -348,7 +348,7 @@ exports.init = init;
* @returns string
*/
function renderTemplate(templateString, data) {
return templateString.replace(/{(.*?)}/g, function (_, key) {
return templateString.replace(/{\s*(\w+)\s*}/g, function (_, key) {
if (data && data[key] !== undefined) {
return data[key];
}

Wyświetl plik

@ -47,7 +47,7 @@
</p>
<p>
Download your encrypted string in a HTML page with a password prompt you can upload anywhere (see <a
target="_blank" href="../example/example_encrypted.html">example</a>).
target="_blank" href="example/example_encrypted.html">example</a>).
</p>
<p>
The tool is also available as <a href="https://npmjs.com/package/staticrypt">a CLI on NPM</a> and is <a