Convert HTML Entities not working

so this passes all the test required… i plugged in all the quotes to make sure that it worked for every condition.

yet the test fails to detect the answers?

Super weird. that did solve the problem.

Thanks for the tip, I suppose I overthought the process of this algorithm. looking at other people’s answers, they seem to go overboard as well when its as simple as just having it replace without any other statements.

I copied it directly from


this list.