From 3827f3c5c900600b7e91a730710d4f925c2a937d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Thu, 28 Sep 2023 18:23:44 +0200 Subject: [PATCH] Fix the codeblocks rendering of spaces --- content/code/2023-09-27-2.md | 2 +- mnmlist/static/css/main.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/code/2023-09-27-2.md b/content/code/2023-09-27-2.md index 531ea41..bd9fefd 100644 --- a/content/code/2023-09-27-2.md +++ b/content/code/2023-09-27-2.md @@ -106,7 +106,7 @@ Now, to use this in weechat, here are some useful commands. First, get the finge ```bash cat /var/log/znc/znc.pem | openssl x509 -sha512 -fingerprint -noout | tr -d ':' | tr 'A-Z' 'a-z' | cut -d = -f 2 -```` +``` Then, in weechat : diff --git a/mnmlist/static/css/main.css b/mnmlist/static/css/main.css index c7d43af..e8b0de4 100644 --- a/mnmlist/static/css/main.css +++ b/mnmlist/static/css/main.css @@ -198,7 +198,7 @@ pre { font-size: 0.8em; overflow: auto; padding: 10px; - white-space: initial; + white-space: pre-wrap; } header {