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 | 890cc9cbd6565ee3b92c304210f49013e9759f7e (patch) | |
tree | f16e7fd636ad2757d76b6fc7962c1492edfae820 /regress/mdoc/Rs/allch.out_markdown | |
parent | a6c40a72a232a59361c880ec1ecddfbd5df8eaaa (diff) | |
download | mandoc-890cc9cbd6565ee3b92c304210f49013e9759f7e.tar.gz mandoc-890cc9cbd6565ee3b92c304210f49013e9759f7e.tar.zst mandoc-890cc9cbd6565ee3b92c304210f49013e9759f7e.zip |
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/Rs/allch.out_markdown')
-rw-r--r-- | regress/mdoc/Rs/allch.out_markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/mdoc/Rs/allch.out_markdown b/regress/mdoc/Rs/allch.out_markdown index afc6488f..64b891cc 100644 --- a/regress/mdoc/Rs/allch.out_markdown +++ b/regress/mdoc/Rs/allch.out_markdown @@ -18,7 +18,7 @@ author name, report name, number of journal, volume number, -<uniform resource locator>, +[uniform resource locator](uniform resource locator), page number, institutional author, city name, @@ -40,7 +40,7 @@ author name, report name, number of journal, volume number, -<uniform resource locator>, +[uniform resource locator](uniform resource locator), page number, institutional author, city name, |