CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/03/11 05:35:40
Modified files:
usr.bin/mandoc : mdoc_markdown.c
regress/usr.bin/mandoc/mdoc/Aq: author.out_markdown
regress/usr.bin/mandoc/mdoc/Lk: noarg.out_markdown
regress/usr.bin/mandoc/mdoc/Mt: simple.out_markdown
regress/usr.bin/mandoc/mdoc/Rs: allch.out_markdown
Log message:
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.