summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Lk/noarg.out_markdown
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-11 12:35:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-11 12:35:45 +0000
commit505c0b0e49d23ffdb2aad76b2d0ac3c0da6d5a54 (patch)
treed01336384d96597315602c256bbb45dc4a14df31 /regress/mdoc/Lk/noarg.out_markdown
parente16d5b3813015232a2bfb159639428402692a852 (diff)
downloadmandoc-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/Lk/noarg.out_markdown')
-rw-r--r--regress/mdoc/Lk/noarg.out_markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/mdoc/Lk/noarg.out_markdown b/regress/mdoc/Lk/noarg.out_markdown
index f27e0895..16c01df2 100644
--- a/regress/mdoc/Lk/noarg.out_markdown
+++ b/regress/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