diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-03-11 12:35:45 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-03-11 12:35:45 +0000 |
commit | 505c0b0e49d23ffdb2aad76b2d0ac3c0da6d5a54 (patch) | |
tree | d01336384d96597315602c256bbb45dc4a14df31 /regress/mdoc/Aq | |
parent | e16d5b3813015232a2bfb159639428402692a852 (diff) | |
download | mandoc-505c0b0e49d23ffdb2aad76b2d0ac3c0da6d5a54.tar.gz |
In markdown, autolinks are dangerous. Different compilers disagree
with respect to what constitutes a valid autolink, and if a compiler
deems an autolink invalid, the input turns into an unintended and
potentially harmful raw HTML tag. So, never write autolinks.
Instead of <link>, write [link](link).
Instead of <addr>, write [addr](mailto:addr).
Issue pointed out by bentley@, who also agrees with the general
direction of the change.
Diffstat (limited to 'regress/mdoc/Aq')
-rw-r--r-- | regress/mdoc/Aq/author.out_markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/mdoc/Aq/author.out_markdown b/regress/mdoc/Aq/author.out_markdown index 292eb5c5..85803ee7 100644 --- a/regress/mdoc/Aq/author.out_markdown +++ b/regress/mdoc/Aq/author.out_markdown @@ -6,11 +6,11 @@ AQ-AUTHOR(1) - General Commands Manual # DESCRIPTION -Name <<addr>> Name <<addr>> +Name <[addr](mailto:addr)> Name <[addr](mailto:addr)> # AUTHORS -Name <<addr>> -Name <<addr>> +Name <[addr](mailto:addr)> +Name <[addr](mailto:addr)> OpenBSD - November 19, 2014 |