Sync with latest (2/13/2007) Instiki svn.
This commit is contained in:
parent
f896f8fbdc
commit
d291318f3e
29 changed files with 3212 additions and 1338 deletions
14
vendor/plugins/form_spam_protection/test/mocks/enkoder.rb
vendored
Normal file
14
vendor/plugins/form_spam_protection/test/mocks/enkoder.rb
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
require File.join(File.dirname(__FILE__), '../../vendor/enkoder/lib/enkoder')
|
||||
|
||||
module ActionView
|
||||
module Helpers
|
||||
module TextHelper
|
||||
|
||||
# Don't really enkode, because our tests can't eval Javascript
|
||||
def enkode( html, max_length=nil )
|
||||
"<code>#{html}</code>"
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue