Function format_html
Source pub fn format_html(input: &str) -> String
Expand description
Formats HTML (.html, .htm) including embedded <script> and <style> blocks matching VS Code Prettier 3.7.4.
§Arguments
&str - Raw HTML document text.
§Returns
String - Formatted HTML text, or unchanged input if syntax errors occur.