Logs for #nikola for 2021-08-23

20:50:50 <KwBot> [nikola-netlify-cms] dependabot[bot] opened pull request #25 (getnikola:dependabot/pip/notebook-6.4.1): Bump notebook from 6.4.0 to 6.4.1 https://github.com/getnikola/nikola-netlify-cms/pull/25
20:50:50 <KwBot> [nikola-netlify-cms] dependabot[bot] opened pull request #25 (getnikola:dependabot/pip/notebook-6.4.1): Bump notebook from 6.4.0 to 6.4.1 https://github.com/getnikola/nikola-netlify-cms/pull/25
23:18:54 <nicolas17> hello
23:19:34 <nicolas17> I prefer to write markdown with newlines between sentences to make diffs more readable, instead of word-wrapping at a fixed length, or letting source lines get super long
23:20:19 <nicolas17> nikola preserves those newlines when generating html, but it usually doesn't matter because the browser treats newlines (outside <pre>) as whitespace and wraps text normally
23:21:08 <nicolas17> however, it seems some applications are being dumb and paying attention to those newlines, such as Telegram's preview when sharing a link
23:27:17 <nicolas17> ah no, I found what's going on, Telegram is using the og:description, I got confused because I edited it and it still showed text from the page, but that's because my staging site still has <link rel="canonical"> pointing at the prod site so it kept getting og:description from prod -.-
23:27:45 <nicolas17> okay so, the issue is that nikola is preserving those newlines when generating og:description: https://blog.nicolas17.xyz/posts/kde-offsite-backups.html