Hi there,
I’m using the “HtmlToWmlConverter.ConvertHtmlToWml” method and a broken WML/DOCX file is being generated (I get the familiar “file cannot be opened because there are problems with the contents” error) after converting the following simple markup:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Hello</title>
</head>
<body>
<span>Link to <a href="http://www.google.ca">Google</a> website.</span>
</body>
</html>
If i change the SPAN to a block-level element (i.e. a “P” or “DIV”) then the markup is converted without issue. I’m also unable to successfully convert HTML to WML if the source contains an “EM” tag within a SPAN (and again, replacing the SPAN with a block-level element resolves this).
If someone could please point me towards a solution that does not involve changing the markup, that would be greatly appreciated.
Many thanks.