个人主页
This commit is contained in:
parent
63f44535a3
commit
55f57ef8b7
|
@ -434,6 +434,8 @@ module UsersHelper
|
||||||
def get_activity_act_showname_htmlclear(activity)
|
def get_activity_act_showname_htmlclear(activity)
|
||||||
str = get_activity_act_showname(activity)
|
str = get_activity_act_showname(activity)
|
||||||
str = str.gsub(/<.*>/,'')
|
str = str.gsub(/<.*>/,'')
|
||||||
|
str = str.gsub(/\r/,'')
|
||||||
|
str = str.gsub(/\n/,'')
|
||||||
str = str.lstrip.rstrip
|
str = str.lstrip.rstrip
|
||||||
if str == ''
|
if str == ''
|
||||||
str = 'RE:'
|
str = 'RE:'
|
||||||
|
@ -449,7 +451,9 @@ module UsersHelper
|
||||||
when "Journal"
|
when "Journal"
|
||||||
arr = details_to_strings(activity.act.details,true)
|
arr = details_to_strings(activity.act.details,true)
|
||||||
arr << activity.act.notes
|
arr << activity.act.notes
|
||||||
return arr.to_s
|
str = ''
|
||||||
|
arr.each { |item| str = str+item }
|
||||||
|
return str
|
||||||
when "JournalsForMessage"
|
when "JournalsForMessage"
|
||||||
return activity.act.notes
|
return activity.act.notes
|
||||||
when "Message"
|
when "Message"
|
||||||
|
|
Loading…
Reference in New Issue