public static function encodeHtml($content)
    {
        $content = self::unicodeToShortcode($content);
        $content = self::shortcodeToEntities($content);

        return $content;
    }
public static function encodeHtml($content)
    {
        $content = self::unicodeToShortcode($content);
        $content = self::shortcodeToEntities($content);

        return $content;
    }
public static function encodeHtml ( $ content ) { $ content = self :: unicodeToShortcode ( $ content ) ; $ content = self :: shortcodeToEntities ( $ content ) ; return $ content ; }
Converts all plaintext shortcodes and unicode emoji to HTML entities.

@param string $content
@return string
Converts all plaintext shortcodes and unicode emoji to HTML entities .