Accept <> around links in markdown (#6646)
Chris Akritidis committed
Aug 13, 2019 at 09:06 UTC
d6ede34882af958bf0ff1bb5ff0ff3775cca5381
2 files changed
+2
-3
collectors/python.d.plugin/riakkv/README.md
+1
-2
@@ -4,8 +4,7 @@ Monitors one or more Riak KV servers.
4
5
**Requirements:**
6
7
-* An accessible `/stats` endpoint. See [the Riak KV configuration reference]
8
- documentation](https://docs.riak.com/riak/kv/2.2.3/configuring/reference/#client-interfaces)
7
+* An accessible `/stats` endpoint. See [the Riak KV configuration reference documentation](<https://docs.riak.com/riak/kv/2.2.3/configuring/reference/#client-interfaces>)
8
for how to enable this.
9
10
The following charts are included, which are mostly derived from the metrics
docs/generator/checklinks.sh
+1
-1
@@ -227,7 +227,7 @@ checklinks () {
227
while read -r l ; do
228
for word in $l ; do
229
if [[ $word =~ .*\]\(([^\(\) ]*)\).* ]] ; then
230
- lnk="${BASH_REMATCH[1]}"
230
+ lnk=$(echo "${BASH_REMATCH[1]}" | tr -d '<>')
231
if [ -z "$lnk" ] ; then continue ; fi
232
dbg "-$lnk"
233
case "$lnk" in