http://qs321.pair.com?node_id=554300


in reply to Simplify HTML programatically

Prebuilt, configurable open source rich text editors abound. Many have content limiting ability. One that is easy to customize is moxie code's tinymce. The documentation describes how to limit the output html to just those items you want.

Yes - it is javascript - but if they are cutting and pasting from Word then there is a 99.9% chance that javascript is enabled.
my @a=qw(random brilliant braindead); print $a[rand(@a)];