Index: test/test_hikidoc.rb =================================================================== --- test/test_hikidoc.rb (revision 121) +++ test/test_hikidoc.rb (revision 122) @@ -295,6 +295,8 @@ "^WikiName", :use_wiki_name => false, :use_not_wiki_name => false) + assert_convert("
foo WikiName bar
\n", + "foo ^WikiName bar") end def test_use_wiki_name_option Index: NEWS.ja =================================================================== --- NEWS.ja (revision 121) +++ NEWS.ja (revision 122) @@ -1,5 +1,9 @@ ! NEWS.ja +!! 0.0.4から0.0.5の変更点: XXXX-XX-XX + +* 同一行に含まれる非WikiName表記以降の文字が出力されないバグを修正 + !! 0.0.3から0.0.4の変更点: 2009-08-17 * inline_pluginでblock_plugin同様にエスケープするように修正 Index: lib/hikidoc.rb =================================================================== --- lib/hikidoc.rb (revision 121) +++ lib/hikidoc.rb (revision 122) @@ -408,7 +408,7 @@ link, uri, mod, wiki_name = m[1, 4] if wiki_name and wiki_name[0, 1] == "^" - pending_str = m.pre_match + wiki_name[1..-1] + pending_str = m.pre_match + wiki_name[1..-1] + str next end Index: NEWS =================================================================== --- NEWS (revision 121) +++ NEWS (revision 122) @@ -1,5 +1,9 @@ ! NEWS +!! Changes 0.0.5 from 0.0.4: XXXX-XX-XX + +* fix a bug: strings after non-WikiName expression are ignored + !! Changes 0.0.4 from 0.0.3: 2009-08-17 * escape collectly in inline_plugin same as block_plugin does.