Hello smart people!
I have updated to 1.7.2, and it seems it has introduced a syntax highlighting bug.
Bug: when a page/thread is loaded, syntax highlighting does not work. Page needs to be refreshed for it to start working.
Video: https://nc.rebelscience.club/index.php/s/PEqNKBk4PJw7P2B
Flarum info bellow:
Flarum core: 1.7.2
PHP version: 8.1.17
MySQL version: 10.5.18-MariaDB-0+deb11u1
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, apcu, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, intl, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+---------------------------------+---------+--------+
| Flarum Extensions | | |
+---------------------------------+---------+--------+
| ID | Version | Commit |
+---------------------------------+---------+--------+
| flarum-suspend | v1.7.0 | |
| sycho-profile-cover | v1.3.3 | |
| michaelbelgium-discussion-views | v7.2.1 | |
| fof-user-bio | 1.1.1 | |
| fof-upload | 1.2.3 | |
| fof-socialprofile | 1.1.5 | |
| fof-profile-image-crop | 1.1.1 | |
| fof-polls | 1.3.0 | |
| fof-nightmode | 1.5.1 | |
| fof-formatting | 1.0.3 | |
| fof-drafts | 1.2.2 | |
| fof-doorman | 1.1.2 | |
| flarum-tags | v1.7.1 | |
| flarum-subscriptions | v1.7.0 | |
| flarum-sticky | v1.7.0 | |
| flarum-statistics | v1.7.0 | |
| flarum-nicknames | v1.7.0 | |
| flarum-mentions | v1.7.0 | |
| flarum-markdown | v1.7.0 | |
| flarum-lock | v1.7.0 | |
| flarum-likes | v1.7.0 | |
| flarum-lang-english | v1.7.0 | |
| flarum-flags | v1.7.0 | |
| flarum-emoji | v1.7.0 | |
| flarum-bbcode | v1.7.0 | |
| askvortsov-pwa | v3.1.3 | |
| antoinefr-online | v1.0.1 | |
+---------------------------------+---------+--------+
Base URL: https://forum.rebelscience.club
Installation path: /var/www/flarum
Queue driver: sync
Session driver: file
Scheduler status: Never run
Mail driver: smtp
Debug mode: off