Fred Tingaud d3cfe19d7e
Fix broken or dangerous backquotes
Co-authored-by: Marco Borgeaud <89914223+marco-antognini-sonarsource@users.noreply.github.com>
2023-10-30 10:33:56 +01:00

33 lines
1.5 KiB
Plaintext

$PATH/unprotected_formatting.adoc:1
Using backquotes does not protect against asciidoc interpretation. Starting or
ending a word with '*', '#', '_' or having two of them consecutively will
trigger unintended behavior with the rest of the text.
Use ``++*careful++`` to avoid that.
If you really want to have formatting inside your code, you can write
``pass:n[*careful]``
$PATH/unprotected_formatting.adoc:3
Using backquotes does not protect against asciidoc interpretation. Starting or
ending a word with '*', '#', '_' or having two of them consecutively will
trigger unintended behavior with the rest of the text.
Use ``++unpro**tected++`` to avoid that.
If you really want to have formatting inside your code, you can write
``pass:n[unpro**tected]``
$PATH/unprotected_formatting.adoc:5
Using backquotes does not protect against asciidoc interpretation. Starting or
ending a word with '*', '#', '_' or having two of them consecutively will
trigger unintended behavior with the rest of the text.
Use ``++~flags~++`` to avoid that.
If you really want to have formatting inside your code, you can write
``pass:n[~flags~]``
$PATH/unprotected_formatting.adoc:7
Using backquotes does not protect against asciidoc interpretation. Starting or
ending a word with '*', '#', '_' or having two of them consecutively will
trigger unintended behavior with the rest of the text.
Use ``++_problems_++`` to avoid that.
If you really want to have formatting inside your code, you can write
``pass:n[_problems_]``