mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-25 08:34:08 +01:00
Don't substitute lt and gt symbols
Closes #824 (hopefully once and for all?)
This commit is contained in:
parent
f782e0f4d4
commit
e1a92ced7c
1 changed files with 0 additions and 4 deletions
|
|
@ -287,10 +287,6 @@ class Todo < ActiveRecord::Base
|
||||||
return successors.find_all {|t| t.active? or t.deferred?}
|
return successors.find_all {|t| t.active? or t.deferred?}
|
||||||
end
|
end
|
||||||
|
|
||||||
def notes=(value)
|
|
||||||
super(value.try(:gsub, /</, '<').try(:gsub, />/, '>'))
|
|
||||||
end
|
|
||||||
|
|
||||||
def raw_notes=(value)
|
def raw_notes=(value)
|
||||||
self[:notes] = value
|
self[:notes] = value
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue