diff options
| -rw-r--r-- | Mammoth.Tests/DocumentConverterTests.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Mammoth.Tests/DocumentConverterTests.cs b/Mammoth.Tests/DocumentConverterTests.cs index 3d1b589..3b8ca6a 100644 --- a/Mammoth.Tests/DocumentConverterTests.cs +++ b/Mammoth.Tests/DocumentConverterTests.cs @@ -199,6 +199,14 @@ namespace Mammoth.Tests { } [Fact] + public void ExplicitStyleMapIsCombinedWithEmbeddedStyleMap() { + AssertSuccessfulConversion( + ConvertToHtml("embedded-style-map.docx", mammoth => mammoth.AddStyleMap("r => strong")), + "<h1><strong>Walking on imported air</strong></h1>" + ); + } + + [Fact] public void CanExtractRawTextFromFile() { AssertSuccessfulConversion( new DocumentConverter().ExtractRawText(TestFilePath("simple-list.docx")), |
