diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-04-28 22:14:13 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-04-28 22:14:13 +0100 |
| commit | 63b8685c562d1ec2c27b642e3d9ded3f7be46c86 (patch) | |
| tree | cc3874fa3eb311685b28816a0361aa981f07692a /dotnet/Mammoth | |
| parent | 47a53a67199033258a953cc5b71981328eab7e49 (diff) | |
Enable DisableDefaultStyleMap
Diffstat (limited to 'dotnet/Mammoth')
| -rw-r--r-- | dotnet/Mammoth/DocumentConverter.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dotnet/Mammoth/DocumentConverter.cs b/dotnet/Mammoth/DocumentConverter.cs index 04dc632..eb8c939 100644 --- a/dotnet/Mammoth/DocumentConverter.cs +++ b/dotnet/Mammoth/DocumentConverter.cs @@ -25,10 +25,10 @@ namespace Mammoth { public DocumentConverter AddStyleMap(string styleMap) { return new DocumentConverter(options.addStyleMap(styleMap)); } -// -// public DocumentConverter DisableDefaultStyleMap() { -// return new DocumentConverter(options.disableDefaultStyleMap()); -// } + + public DocumentConverter DisableDefaultStyleMap() { + return new DocumentConverter(options.disableDefaultStyleMap()); + } public IResult<string> ConvertToHtml(Stream stream) { return new InternalDocumentConverter(options) |
