Displaying 1 result from an estimated 1 matches for "encode_email".
2010 Feb 10
1
metainfo tag called instead of a custom one
...TW there should be quotes around ''default'', no?)
Again I have no idea what caused it to break and with all the module
inclusion and method_missing hacks I don''t know how to debug this.
class Mailto
include Webgen::Tag::Base
def call( tag, body, context )
email = encode_email(param(''mailto.to''))
link = param(''mailto.link'') || email
subject = param(''mailto.subject'')
html = "<a href=''mailto:#{email}#{''?subject='' + subject unless
subject.nil?}''>#{link}</a>...