Added:
* the 'include' macro to include a wiki page * macro escaping support (with exclamation mark) git-svn-id: http://redmine.rubyforge.org/svn/trunk@1153 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
1c8cf4ef83
commit
0582337372
3 files changed
+36
-9
No files matched your search
@@ -120,6 +120,9 @@ class ApplicationHelperTest < HelperTestCase
|
||||
def test_macro_hello_world
|
||||
text = "{{hello_world}}"
|
||||
assert textilizable(text).match(/Hello world!/)
|
||||
# escaping
|
||||
text = "!{{hello_world}}"
|
||||
assert_equal '<p>{{hello_world}}</p>', textilizable(text)
|
||||
end
|
||||
|
||||
def test_date_format_default
|
||||
|
||||
Reference in new issue
Block a user