start of gollum tag markup processing
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
require File.join(File.dirname(__FILE__), *%w[helper])
|
||||
|
||||
context "Markup" do
|
||||
test "page link" do
|
||||
data = "a [[Bilbo Baggins]] b"
|
||||
output = Gollum::Markup.new("x.md", data).render
|
||||
assert_equal %{<p>a <a href="Bilbo-Baggins">Bilbo Baggins</a> b</p>\n}, output
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user