diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 29494d70..397b747d 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -85,7 +85,7 @@ module ApplicationHelper end def textilizable(text) - $RDM_TEXTILE_DISABLED ? text : RedCloth.new(text).to_html + $RDM_TEXTILE_DISABLED ? simple_format(auto_link(h(text))) : RedCloth.new(h(text)).to_html end def error_messages_for(object_name, options = {}) diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml index 6a5a20d9..19e98082 100644 --- a/app/views/repositories/revision.rhtml +++ b/app/views/repositories/revision.rhtml @@ -9,7 +9,7 @@
<%= @revision.author %>, <%= format_time(@revision.time) %>
-<%= simple_format @revision.message %> +<%= textilizable @revision.message %>