Followup-For: Bug #932957 X-Debbugs-Cc: hwans...@mailbox.org On Mon, 22 May 2023 23:40:46 +0100, James wrote: > On Sun, 21 May 2023 10:16:36 +0200, Holger wrote: > > There is also a problem using entities (or now called substitutions) in > > quoted lines like > > > deb https://deb.debian.org/debian RELEASENAME main contrib > > Ok, yep - I understand the problem there now, and have experimented with it a > bit locally. Roughly speaking: substitutions aren't possible within literal > quote blocks (there is a '::' a couple of lines before the mentioned line, and > adding the pipe '|' symbols around the substitution label doesn't make a > difference within literal blocks)
It looks like the fix for that is to convert those literal ('::') blocks into parsed-literal[1] ('.. parsed-literal::') blocks. [1] - https://docutils.sourceforge.io/docs/ref/rst/directives.html#parsed-literal