[From nobody Wed Aug 19 17:20:04 2026
Received: (at submit) by bugs.debian.org; 7 Mar 2026 18:37:38 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-13.0 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
 DKIM_VALID_EF,FOURLA,HAS_PACKAGE,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,
 RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,
 SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 150; neutral, 66; spammy,
 0. spammytokens: hammytokens:0.000-+--forky, 0.000-+--HTo:N*Debian,
 0.000-+--H*Ad:N*Bug, 0.000-+--H*Ad:N*Tracking, 0.000-+--HTo:N*Bug
Return-path: &lt;agx@sigxcpu.org&gt;
Received: from honk.sigxcpu.org ([24.134.29.49]:55948)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;agx@sigxcpu.org&gt;) id 1vywWv-00DdN7-1q
 for submit@bugs.debian.org; Sat, 07 Mar 2026 18:37:38 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sigxcpu.org; s=2024;
 t=1772908651; bh=lca1pJ9yf3cmWKV5mUFLZfCxyhSm+ZtjMyBYqlNnynA=;
 h=Date:From:To:Subject:From;
 b=NSrdKhPQH/63SaTKVPInSoMbYXewR9PrWyPfRaGpTOVAweoO/36R0xu7YzpOZRrgt
 E1PmyXPtYTLNYgXkqHvy41Ij18AaaDi6qfQZmGXBLCSpbnsiQ6zlESz0S5LBnlqh1I
 EhHxCu3vI4UX8Qm5DncLgW3flp7m5u3iIk6uGLNoGO+CbhxNagWtA5tvPD6FUMcaQu
 +0Yz3+ffXjJ5T8k6qc/Oq84NJy4u2UBGiVlfpnif9K2pN5chfGktWR6j7uYa7A8f6+
 Jj3x69MV1WvsQ8X4bLMfRLnRWvkY5+mBXBq6QbvGRYsuufuAg5gQCxZBLy4qKxzUBQ
 if5TFb16wYo8g==
Received: from localhost (localhost [127.0.0.1])
 by honk.sigxcpu.org (Postfix) with ESMTP id A8532FB03
 for &lt;submit@bugs.debian.org&gt;; Sat,  7 Mar 2026 19:37:31 +0100 (CET)
Received: from honk.sigxcpu.org ([127.0.0.1])
 by localhost (honk.sigxcpu.org [127.0.0.1]) (amavis, port 10024) with ESMTP
 id Tu__PK9rFrg5 for &lt;submit@bugs.debian.org&gt;;
 Sat,  7 Mar 2026 19:37:29 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sigxcpu.org; s=2024;
 t=1772908649; bh=lca1pJ9yf3cmWKV5mUFLZfCxyhSm+ZtjMyBYqlNnynA=;
 h=Date:From:To:Subject:From;
 b=WStqFflQdiVQRMpwlUN/5SrhHdIo3XXp8dCq9X/up02NeRho0SlOaJGlqkF1sFlcS
 xzFR8QuLQpYt67PMn7JYNYiipUWLy63ljqqiCe6+DCtuX9oNkr2JMeCqSz/cEoym08
 1endz/PnbPH/Y7xCMA8wd8jyhZUTzGo+XCoaRueJ+qUmKVRHuy3Gabth5Ky1DCYlB2
 yOWf+tS0+4ZhAUqQXnRM3JtVNJ0IcJLyAVfNyQDsDJ7enDSqLQugp+wGCXdBEuM0cm
 4BzkADYAPR04HfRHxy3gEul47bAhWesMr/agSM09racWn719edh/9eL943jHT3/lnB
 FavWtMenkKgQw==
Date: Sat, 7 Mar 2026 19:37:27 +0100
From: Guido =?iso-8859-1?Q?G=FCnther?= &lt;agx@sigxcpu.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: Syntax highlighting broken
Message-ID: &lt;aaxwZ1GqZ-1JgwCF@quark2.heme.sigxcpu.org&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
Delivered-To: submit@bugs.debian.org

Package: mdbook
Version: 0.4.52+ds-5
Severity: normal

Hi,
syntax highlighting isn't working for me. Blocks like


```json
{
  &quot;current_weather&quot;: {
    &quot;temperature&quot;: 12.4
  },
  &quot;daily&quot;: {
    &quot;time&quot;: [&quot;2026-02-15&quot;, &quot;2026-02-16&quot;],
    &quot;temperature_2m_max&quot;: [14.2, 15.0],
    &quot;temperature_2m_min&quot;: [5.1, 6.3]
  }
}
```

show withough color. Using the exact same boook source and using
upstream's `cargo install mdbook` binary shows colors as expected.

Cheers,
 -- Guido

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.18.12+deb14-amd64 (SMP w/22 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mdbook depends on:
ii  libc6      2.42-13
ii  libgcc-s1  15.2.0-13

mdbook recommends no packages.

mdbook suggests no packages.

-- no debconf information
]