typewriter-editor
Version:
A rich text editor using the Delta format with decorations and rendered with a tiny virtual dom
16 lines (15 loc) • 391 B
TypeScript
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/
/**
* Escape special characters in the given string of html.
*
* @param {string} string The string to escape for inserting into HTML
* @return {string}
* @public
*/
export declare function escapeHtml(string: string): string;