diff --git a/tests/reparse.t b/tests/reparse.t new file mode 100644 index 0000000..df3b272 --- /dev/null +++ b/tests/reparse.t @@ -0,0 +1,18 @@ +echo "footnotes inside reparse sections" + +rc=0 + +RES="[![foo][]](bar) + +[foo]: bar2" + +echo -n ' footnote inside [] section ....... ' + +if echo "$RES" | ./markdown | fgrep bar2 >/dev/null; then + echo "ok" +else + echo "FAILED" + rc=1 +fi + +exit $rc