- public final function outputStream ($output) {
- // Prepare the output
- $output = trim(html_entity_decode(strip_tags(stripslashes($output))));
+ public final function outputStream ($output, $stripTags = false) {
+ // Strip HTML tags out?
+ if ($stripTags === true) {
+ // Prepare the output without HTML tags
+ $output = trim(html_entity_decode(strip_tags(stripslashes($output))));
+ } else {
+ // Prepare the output with HTML tags
+ $output = trim(stripslashes($output));
+ }