diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-08-29 08:46:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 08:46:35 +0200 |
commit | 1f2b12b30e5d9e5ea89dfd6172ea9e9df9eb960a (patch) | |
tree | 2a4c8af1878b10f71e17029a922a24ed9732daef /src/libcmd | |
parent | 7918adbb628e7781cec1638c371f2009136be68a (diff) | |
parent | e7dcacbd7ca75bbac8b77e6873160feff875c9c7 (diff) |
Merge pull request #6968 from fricklerhandwerk/man-no-weblinks
do not render relative links in help pages
Diffstat (limited to 'src/libcmd')
-rw-r--r-- | src/libcmd/markdown.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/markdown.cc b/src/libcmd/markdown.cc index 71f9c8dff..668a07763 100644 --- a/src/libcmd/markdown.cc +++ b/src/libcmd/markdown.cc @@ -18,7 +18,7 @@ std::string renderMarkdownToTerminal(std::string_view markdown) .hmargin = 0, .vmargin = 0, .feat = LOWDOWN_COMMONMARK | LOWDOWN_FENCED | LOWDOWN_DEFLIST | LOWDOWN_TABLES, - .oflags = 0, + .oflags = LOWDOWN_TERM_NOLINK, }; auto doc = lowdown_doc_new(&opts); |