From: Kienan Stewart Date: Thu, 19 Oct 2023 13:31:25 +0000 (-0400) Subject: Fix: add special character substitution to blocks with ampersands X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=893329575efe4a3da451bf278c689607f6862221;p=lttng-docs.git 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: ``` $ 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 ``` The `tools/check.py` also fails without this modification. Change-Id: I950fc010f05e8c3a3a1c8fecd963c23c62f19dc7 Signed-off-by: Kienan Stewart --- diff --git a/2.13/lttng-docs-2.13.txt b/2.13/lttng-docs-2.13.txt index 530f1cf..ec6c700 100644 --- a/2.13/lttng-docs-2.13.txt +++ b/2.13/lttng-docs-2.13.txt @@ -575,7 +575,7 @@ Fedora{nbsp}39: . Download, build, and install the latest LTTng-modules{nbsp}{revision}: + -- -[role="term",subs="attributes"] +[role="term",subs="attributes,specialcharacters"] ---- $ cd $(mktemp -d) && wget http://lttng.org/files/lttng-modules/lttng-modules-latest-{revision}.tar.bz2 && @@ -656,7 +656,7 @@ Alpine Linux{nbsp}3.16, Alpine Linux{nbsp}3.17, or Alpine Linux{nbsp}3.18: . Download, build, and install the latest LTTng-modules{nbsp}{revision}: + -- -[role="term",subs="attributes"] +[role="term",subs="attributes,specialcharacters"] ---- $ cd $(mktemp -d) && wget http://lttng.org/files/lttng-modules/lttng-modules-latest-{revision}.tar.bz2 &&