app/models/chunks/todo.rb in Pimki-1.7.092 vs app/models/chunks/todo.rb in Pimki-1.8.092
- old
+ new
@@ -10,9 +10,10 @@
def initialize(match_data, revision)
super(match_data, revision)
@context = match_data[1]
@context = @context.nil? || @context.empty? ? [] : @context.delete('@').split(',')
+ @context += revision.page.categories
@text = match_data[2]
begin
d = ParseDate.parsedate(@text)
# see if there's a date in the todo:
if not d.all? { |x| x.nil? }