Fix: add special character substitution to blocks with ampersands
authorKienan Stewart <kstewart@efficios.com>
Thu, 19 Oct 2023 13:31:25 +0000 (09:31 -0400)
committerKienan Stewart <kstewart@efficios.com>
Thu, 19 Oct 2023 13:31:25 +0000 (09:31 -0400)
commit893329575efe4a3da451bf278c689607f6862221
treefecb61b3c5093f3832ddd0a88f64bbfee1ac94b1
parent60cb79ae7b6e1d9145ab036cb4077fe9783b7220
Fix: add special character substitution to blocks with ampersands

While there was no problem rendering HTML (using `make`), rendering
docbook/XML failed, eg:

Error: Cannot parse the DocBook XML file:
xmlParseEntityRef: no name, line 814, column
40 (lttng-docs-2.13m39rfphx.xml, line 814)

Snippet of the failed section:

```
<screen role="term">$ cd $(mktemp -d) &&
  wget http://lttng.org/files/lttng-modules/lttng-modules-latest-2.13.tar.bz2 &&
  tar -xf lttng-modules-latest-2.13.tar.bz2 &&
  cd lttng-modules-2.13.* &&
  make &&
  sudo make modules_install &&
  sudo depmod -a</screen>
```

The `tools/check.py` also fails without this modification.

Change-Id: I950fc010f05e8c3a3a1c8fecd963c23c62f19dc7
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2.13/lttng-docs-2.13.txt
This page took 0.022845 seconds and 4 git commands to generate.