onizet / html2openxml

Html2OpenXml is a small .Net library that convert simple or advanced HTML to plain OpenXml components. This program has started in 2009, initially to convert user's comments into templated Word.
MIT License
321 stars 109 forks source link

Workaround for inline 'style' attribute #15

Closed k59319 closed 6 years ago

k59319 commented 6 years ago

Added support for inline 'style' attributes inside 'strong', 'i' and 'u' tags. I don't know how to do it right so I just copied styles processing from the 'span' code to 'strong', 'i' and 'u' code.

This patch addresses issue #14