/*********************************************** * escape_attr_angles * * Escape literal `<` and `>` characters that occur * *inside quoted attribute values* in an HTML string. * * This protects attribute payloads from accidentally * being interpreted as markup while leaving: * - text nodes, * - tag structure, * - already-escaped entities * completely untouched. * * Rules: * - Outside of a tag: characters are emitted verbatim. * - Inside a tag but *not* inside quotes: `<` and `>` * retain their markup meaning. * - Inside a quoted attribute value: * `<` → `<` * `>` → `>` * - Matching quote characters close the quoted section. * * This is a safe, conservative transform intended for * serializer output, not a general HTML sanitizer. * * @param src Any HTML source string. * @returns The same HTML string, but with `<` and `>` * escaped only within quoted attribute values. ***********************************************/ export declare function escape_attr_angles(src: string): string; //# sourceMappingURL=escape_angles.d.ts.map