mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-30 22:08:49 +01:00
Merge branch 'master' of github.com:bsag/tracks
This commit is contained in:
commit
65caba5028
1 changed files with 5 additions and 2 deletions
|
|
@ -280,8 +280,11 @@ module TodosHelper
|
|||
end
|
||||
|
||||
def format_ical_notes(notes)
|
||||
split_notes = notes.split(/\n/)
|
||||
joined_notes = split_notes.join("\\n")
|
||||
unless notes.blank?
|
||||
split_notes = notes.split(/\n/)
|
||||
joined_notes = split_notes.join("\\n")
|
||||
end
|
||||
joined_notes || ""
|
||||
end
|
||||
|
||||
def formatted_pagination(total)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue