Often when you post code (in WordPress for example), you need to manually convert your >s into >s, <s into <s and so on. It can become tedious at times, so today I created this tool to help me out: HTML entities converter. (http://www.w3clubs.com/htmlentities.php) So I simply paste the code there and I get the converted text, ready to be used in a WordPress-powered posting.
In terms of implementation the tool is nothing more than a handy way to call the PHP function htmlentities(). The source code is also available for anyone curious enough to look under the hood.
Comments? Find me on BlueSky, Mastodon, LinkedIn, Threads, Twitter




