diff --git a/lib/gollum-lib/filter/macro.rb b/lib/gollum-lib/filter/macro.rb index defd7d4c..2023b3f9 100644 --- a/lib/gollum-lib/filter/macro.rb +++ b/lib/gollum-lib/filter/macro.rb @@ -4,7 +4,7 @@ # Replace specified tokens with dynamically generated content. class Gollum::Filter::Macro < Gollum::Filter def extract(data) - quoted_arg = %r{".*?"} + quoted_arg = %r{".*?(?>', commit_details) + assert_match(/@Goodbye "cruel" world@/, @wiki.pages[0].formatted_data) + end + test "ListArgs with a mix or arg styles" do @wiki.write_page("ListArgsMacroPage", :markdown, '<>', commit_details) assert_match(/@foo, bar, and baz@/, @wiki.pages[0].formatted_data)