Page 1 of 1

Issue with Todos screen

PostPosted: Sun Feb 28, 2021 12:26 pm
by SBarnes
It appears the todo screen doesn't react well to json being in the content I have had to change a function on my logger such as

Code: Select all
        public string AsHTML()
        {
            string result = "";
            foreach (string line in this)
            {
                result += line + "<br/>";
            }

            return result;
        }


to

Code: Select all
        public string AsHTML()
        {
            string result = "";
            foreach (string line in this)
            {
                result += System.Web.HttpUtility.HtmlEncode(line) + "<br/>";
            }

            return result;
        }


The todo will write it all to the database, the screen just doesn't display it all when it hits something it doesn't like. For example

Code: Select all
"yoast_head":"<!-- This site is optimized with

Re: Issue with Todos screen

PostPosted: Tue Mar 02, 2021 11:26 am
by Mike.Sheen
Can you give me some steps to reproduce please?

Re: Issue with Todos screen

PostPosted: Tue Mar 02, 2021 11:43 am
by SBarnes
I will email it to you because I am pretty sure the data has proprietary stuff in it.