From 505c0b0e49d23ffdb2aad76b2d0ac3c0da6d5a54 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 11 Mar 2017 12:35:45 +0000 Subject: 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 , write [link](link). Instead of , write [addr](mailto:addr). Issue pointed out by bentley@, who also agrees with the general direction of the change. --- regress/mdoc/Mt/simple.out_markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regress/mdoc/Mt/simple.out_markdown') diff --git a/regress/mdoc/Mt/simple.out_markdown b/regress/mdoc/Mt/simple.out_markdown index 0b85b45d..78c21be4 100644 --- a/regress/mdoc/Mt/simple.out_markdown +++ b/regress/mdoc/Mt/simple.out_markdown @@ -7,9 +7,9 @@ MT-SIMPLE(1) - General Commands Manual # DESCRIPTION Please send mail to -. +[schwarze@openbsd.org](mailto:schwarze@openbsd.org). Do not send mail to -<~>. +[~](mailto:~). OpenBSD - February 17, 2010 -- cgit