Add parsing of org-mode [[file:path.org][label]] links

This commit is contained in:
Hugo Duncan
2011-01-07 23:59:36 -05:00
parent cc85879810
commit 32d1f9eb2f
2 changed files with 18 additions and 1 deletions
+6
View File
@@ -414,6 +414,12 @@ context "Markup" do
compare(content, output, 'org')
end
test "org mode style double file links" do
content = "a [[file:f.org][Google]] b"
output = "<p class=\"title\">a <a class=\"internal absent\" href=\"/f\">Google</a> b</p>"
compare(content, output, 'org')
end
#########################################################################
#
# TeX