Have you grown tired of typing in all those HTML special characters? Use a perl script instead:
nano ~/bin/html_special_char_encoder.pl
#!/usr/bin/perl
use HTML::Entities;
while (<>) {
print HTML::Entities::encode($_) ;
} ;
chmod +x ~/bin/html_special_char_encoder.pl
Just a quick test:
echo 'This is a test: "<&>"' | ~/bin/html_special_char_encoder.pl
This is a test: "<&>"