UNPKG

@tricoteuses/arbre-de-la-loi

Version:

Generate ASTs from the French bills & laws; manipulate & export them to Markdown, etc.

9 lines (8 loc) 588 B
import { HastNode } from "./hast"; export declare function mergeSpanElementsWithSameAttributes(node: HastNode): void; export declare function mergeTexts(node: HastNode): void; export declare function removeLetterSpacingStyleAttributes(html: string): string; export declare function removeEmptyStyleAttributes(html: string): string; export declare function removeStyleElements(node: HastNode): void; export declare function replaceSpanElementsContainingOnlySpacesWithTexts(node: HastNode): void; export declare function replaceSpanElementsWithoutPropertiesWithTexts(node: HastNode): void;