Merge pull request #14274 from elhaard/patch-1

html-to-text: wordwrap option can be false/null
This commit is contained in:
Daniel Rosenwasser
2017-01-26 12:44:32 -08:00
committed by GitHub
+1 -1
View File
@@ -39,7 +39,7 @@ interface HtmlToTextOptions {
* Defines after how many chars a line break should follow in p elements.
* Set to null or false to disable word-wrapping. Default: 80
*/
wordwrap?: number;
wordwrap?: number | false | null;
/**
* Allows to select certain tables by the class or id attribute from the HTML