mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02: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?}
|
||||
end
|
||||
|
||||
def notes=(value)
|
||||
super(value.try(:gsub, /</, '<').try(:gsub, />/, '>'))
|
||||
end
|
||||
|
||||
def raw_notes=(value)
|
||||
self[:notes] = value
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue