This Smarty block plugin optimizes HTML content for French websites by automatically applying typography rules, improving accessibility, and adding security features. Key Features: - French Typography: Automatically inserts non-breaking spaces ( ) before punctuation marks (:!?;%), currency symbols (€), and around French quotation marks (« ») - Content Cleanup: Removes excessive whitespace for cleaner HTML output - Responsive Media: Wraps YouTube iframes in responsive containers with .youtube-responsive class - Responsive Tables: Automatically wraps tables in .table-responsive divs for mobile compatibility - Email Protection: Obfuscates email addresses using random HTML entities and hexadecimal encoding to prevent spam bot harvesting - Performance Optimized: Uses efficient string manipulation (strtr) and combined regex patterns - Modern PHP: Leverages PHP 8.0+ features (match expressions, arrow functions, type hints) for better performance and code quality Perfect for French-language websites built with CMS Made Simple that need professional typography and spam protection without manual HTML editing. Requirements: - CMS Made Simple 2.x or higher - PHP 8.0 or higher Usage: {optimize}Your content here{/optimize}