pub fn process_safe<F>(content: &str, processor_fn: F, fallback: &str) -> StringExpand description
Safely process markup content with error recovery.
Provides a safe wrapper around markup processing operations that may fail, and ensures that partial or fallback content is returned rather than complete failure.
§Arguments
content- The content to processprocessor_fn- The processing function to applyfallback- Fallback content to use if processing fails
§Returns
The processed content or fallback on error