diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-04-01 16:30:06 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-04-01 16:30:06 +0100 |
| commit | 7f074c9d20d47b67f71642c536e39ef3006195ba (patch) | |
| tree | c5d5fa43271c189e1036b9ee2a5e0798ca6a7837 /Mammoth | |
| parent | 164625ecf3d011503984e9eeb7edda3f827a9c17 (diff) | |
Allow embedded style maps to be disabled
Diffstat (limited to 'Mammoth')
| -rw-r--r-- | Mammoth/DocumentConverter.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mammoth/DocumentConverter.cs b/Mammoth/DocumentConverter.cs index eb8c939..59b09e1 100644 --- a/Mammoth/DocumentConverter.cs +++ b/Mammoth/DocumentConverter.cs @@ -29,6 +29,10 @@ namespace Mammoth { public DocumentConverter DisableDefaultStyleMap() { return new DocumentConverter(options.disableDefaultStyleMap()); } + + public DocumentConverter DisableEmbeddedStyleMap() { + return new DocumentConverter(options.disableEmbeddedStyleMap()); + } public IResult<string> ConvertToHtml(Stream stream) { return new InternalDocumentConverter(options) |
