Now go try different variations until you find an edge case that breaks this very very simple algorithm that I have on my libraries for the past 10 years, then I can tell you to use Humanizer and simplify your life and have something like this; https://dotnetfiddle.net/9TsILi
View all comments
Show parent comment
2
u/a3th3rus Sep 21 '26
then show me your 20 lines of code that can handle this case that does not convert it to
decode_h_t_m_l_entity.