pub fn wrap_with_content_source(content: &str, source: ContentSource) -> StringExpand description
Wrap content with its content source marker, sanitizing if necessary.
ContentSource::ExternalContent: sanitizes viasanitize_external_contentthen wraps with[EXTERNAL CONTENT — …]/[END EXTERNAL CONTENT]delimiters.- All other sources: content is returned unchanged.