Fix accidental formatting in monospaced text

Monospaced text in AsciiDoc can contain italics, bold, and other
formatted text. Using `+text+` instead of `text` makes the wrapped text
treated as literal monospace text, resolving this issue. [1] Use this
construct when double underscores are present in monospaced text to
avoid accidental formatting.

[1]: https://docs.asciidoctor.org/asciidoc/latest/text/literal-monospace
This commit is contained in:
Jared Kangas 2024-09-06 14:28:40 -07:00
parent e435151a0c
commit a46127f8a9
3 changed files with 6 additions and 6 deletions

View file

@ -266,8 +266,8 @@ variables.
The Autoconf macro `AC_GNU_SOURCE` ensures this.
* Check for the presence of the `secure_getenv`
and `__secure_getenv` function. The Autoconf
directive `AC_CHECK_FUNCS([__secure_getenv secure_getenv])`
and `+__secure_getenv+` function. The Autoconf
directive `+AC_CHECK_FUNCS([__secure_getenv secure_getenv])+`
performs these checks.
* Arrange for a proper definition of the
@ -286,7 +286,7 @@ restrictions or cause a privileged process to behave in an
unexpected way.
Either the `secure_getenv` function or the
`__secure_getenv` is available from GNU libc.
`+__secure_getenv+` is available from GNU libc.
[[ex-Defensive_Coding-Tasks-secure_getenv]]
.Obtaining a definition for `secure_getenv`