Linkify message:// URLs in notes. Those links are used by Mail.app on

Mac OS X to link to a mail message by message id.
This commit is contained in:
Patrice Neff 2010-01-10 02:47:54 +08:00 committed by Eric Allen
parent e844b5aa5b
commit 5299490c83
5 changed files with 69 additions and 5 deletions

View file

@ -58,7 +58,7 @@ Rails::Initializer.run do |config|
# allow other protocols in urls for sanitzer. Add to your liking, for example
# config.action_view.sanitized_allowed_protocols = 'onenote', 'blah', 'proto'
# to enable "link":onenote://... or "link":blah://... hyperlinks
config.action_view.sanitized_allowed_protocols = 'onenote'
config.action_view.sanitized_allowed_protocols = 'onenote', 'message'
# See Rails::Configuration for more options
end