this is my code:
when i parse html tag img with a src being an valid url it return no htmlParagraps
i use htmlTOopenXML 1.4.1
Document document = new Document() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 wp14" } };
DocumentNamespace(document);
MainPart.Document = document;
Body body = new Body();
document.Append(body);
HtmlConverter converter = new HtmlConverter(MainPart);
//converter.ImageProcessing = ImageProcessing.ManualProvisioning;
//converter.ProvisionImage += converter_ProvisionImage;
foreach (ParagraphObject paragraphObject in paragraphs)
{
var htmlParagraphs = converter.Parse(paragraphObject.TitleAfterParsing);
foreach (Paragraph paragraph in htmlParagraphs)
body.Append(GenerateCustomParagraph(paragraphObject, paragraph, true));
switch (paragraphObject.Type)
{
case ParagraphObject.ParagraphType.Text:
htmlParagraphs = converter.Parse(paragraphObject.ContentAfterParsing);
for (int i = 0; i < htmlParagraphs.Count; i++)
{
[...]when i parse html tag img with a src being an valid url it return no htmlParagraps
i use htmlTOopenXML 1.4.1