dina-agi
Version:
DINA AGI - Dynamic Intelligence Network Architecture. 128 Autonomous Agents with Claude Flow, Swarms, and 300+ MCPs. True AGI System.
19 lines (18 loc) • 464 B
JavaScript
/**
* Escape HTML tags in descriptions.
*
* @module plugins/escapeHtml
*/
exports.handlers = {
/**
* Translate HTML tags in descriptions into safe entities. Replaces <, & and newlines
*/
newDoclet({doclet}) {
if (doclet.description) {
doclet.description = doclet.description
.replace(/&/g, '&')
.replace(/</g, '<')
.replace(/\r\n|\n|\r/g, '<br>');
}
}
};