mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-10-08 05:50:04 -04:00
- Introduced the @mozilla/readability library to improve HTML content extraction from URLs. - Enhanced the importHtmlFromURL method to fetch, parse, and sanitize HTML content, ensuring relative URLs are converted to absolute. - Added utility functions for escaping HTML and making URLs absolute within the imported content. - Updated type definitions to include Readability class for TypeScript support.
18 lines
381 B
TypeScript
18 lines
381 B
TypeScript
declare module "rc-color-picker" {}
|
|
declare module "react-tooltip" {
|
|
export const Tooltip: any;
|
|
export default Tooltip;
|
|
}
|
|
declare module "react" {
|
|
interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
webkitdirectory?: string;
|
|
}
|
|
}
|
|
|
|
declare module "@mozilla/readability" {
|
|
export class Readability {
|
|
constructor(document: Document);
|
|
parse(): any;
|
|
}
|
|
}
|