Skip to content

Commit

Permalink
Build new test
Browse files Browse the repository at this point in the history
  • Loading branch information
domchristie committed Jul 5, 2017
1 parent ad736d4 commit 133c63e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/turndown-test.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,8 @@ var trailingNewLinesRegExp = /\n*$/;
var optionsValidator = new OptionsValidator();

function TurndownService (options) {
if (!(this instanceof TurndownService)) return new TurndownService(options)

var defaults = {
converters: converters,
headingStyle: 'setext',
Expand Down Expand Up @@ -746,7 +748,7 @@ function TurndownService (options) {
return false
}
},
remove: ['head', 'script', 'style']
remove: ['head', 'link', 'meta', 'script', 'style']
};
optionsValidator.validate(options);
this.options = extend({}, defaults, options);
Expand Down

0 comments on commit 133c63e

Please sign in to comment.