Fix unused variable
Simplify rich post content and use strip tags for security