diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-03-11 12:35:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-03-11 12:35:41 +0000 |
commit | 0144745ed0d3856c4c2059757847f8f052f74c9b (patch) | |
tree | 961c53111e834e6254e8e7083eda8a057969b04c /regress/usr.bin/mandoc/mdoc/Lk | |
parent | 056760686abb9e0d0bfddc03547f7bc1979d3643 (diff) |
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/usr.bin/mandoc/mdoc/Lk')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Lk/noarg.out_markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Lk/noarg.out_markdown b/regress/usr.bin/mandoc/mdoc/Lk/noarg.out_markdown index f27e0895f4c..16c01df2f81 100644 --- a/regress/usr.bin/mandoc/mdoc/Lk/noarg.out_markdown +++ b/regress/usr.bin/mandoc/mdoc/Lk/noarg.out_markdown @@ -9,7 +9,7 @@ LK-NOARG(1) - General Commands Manual two arguments [mandoc](http://mdocml.bsd.lv/) one argument -<http://www.openbsd.org/> +[http://www.openbsd.org/](http://www.openbsd.org/) no argument end of test document |