From 1cb295ef67d1197ced93c2d7a7c0858c0718059a Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 30 Oct 2015 00:12:52 -0400 Subject: [PATCH] Task: Removed legacy encodings - &dquot; -> \" - " -> ' - &squot; -> ' - , -> , - : -> : --- src/Task.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Task.cpp b/src/Task.cpp index c0f51293f..086b986ab 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -1623,15 +1623,6 @@ const std::string Task::decode (const std::string& value) const str_replace (modified, "&open;", "["); str_replace (modified, "&close;", "]"); - // Support for deprecated encodings. These cannot be removed or old files - // will not be parsable. Not just old files - completed.data can contain - // tasks formatted/encoded using these. - str_replace (modified, "&dquot;", "\""); - str_replace (modified, """, "'"); - str_replace (modified, "&squot;", "'"); // Deprecated 2.0 - str_replace (modified, ",", ","); // Deprecated 2.0 - str_replace (modified, ":", ":"); // Deprecated 2.0 - return modified; }