aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/_ak_html4
-rwxr-xr-xlib/_ak_zblock2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/_ak_html b/lib/_ak_html
index bae5466..38723c8 100755
--- a/lib/_ak_html
+++ b/lib/_ak_html
@@ -10,7 +10,7 @@ _ak_generate_html_header(){
printf ' body {\n'
printf ' background-color: #000;\n'
printf ' color: lightgreen;\n'
- printf ' padding: 2%;\n'
+ printf ' padding: 2%%;\n'
printf ' width: auto;\n'
printf ' font-family: monospace;\n'
printf ' font-size: 1rem;\n'
@@ -162,7 +162,7 @@ _ak_generate_html_zblock(){
printf ' </td>\n'
printf ' <td>\n'
printf ' <details>\n'
- printf ' <summary>$zblock</summary>\n'
+ printf ' <summary>%s</summary>\n' "$zblock"
printf ' <pre>%s</pre>' "$(_ak_ipfs_cat $zblock | jq)"
printf ' </details>\n'
printf ' </td>\n'
diff --git a/lib/_ak_zblock b/lib/_ak_zblock
index 6aec37d..0095c3d 100755
--- a/lib/_ak_zblock
+++ b/lib/_ak_zblock
@@ -394,7 +394,7 @@ _ak_zblock_gen_html(){
se=$(echo $time_ended | cut -d '.' -f 1)
nse=$(echo $time_ended | cut -d '.' -f 2)
printf ' <hr>\n' >> zblock-$1.html
- printf ' <footer>Generated by $PROGRAM on $(datehuman) in $(( $se - $ss )).' >> zblock-$1.html
+ printf ' <footer>Generated by %s on %s in %s.' "$PROGRAM" "$(datehuman)" "$(( $se - $ss ))">> zblock-$1.html
if [ $nse -lt $nss ]
then
printf '%s seconds</footer>\n' "$(( 1$nse - $nss ))" >> zblock-$1.html