After formatting hyperlinks in word to remove the underline, and then converting to html with aspose.words it appears that the link style is placed inside a span tag rather than on the anchor tag. as a result, the anchor tag, by default, is underlined. generated style:
span.Hyperlink {
font-family: Arial;
font-size: 8pt;>
font-weight: normal;
text-decoration: none;
color: #215868;
}
After formatting hyperlinks in word to remove the underline, and then converting to html with aspose.words it appears that the link style is placed inside a span tag rather than on the anchor tag. as a result, the anchor tag, by default, is underlined.
generated style:
span.Hyperlink {
font-family: Arial;
font-size: 8pt;
font-weight: normal;
text-decoration: none;
color:#215868
}
generated html
<a style="color:#215868" href="..." target="_blank">
Cigna Drug Coverage Policy No. 1316
</a>
Is there any way to control how the styles are applied to the output html?\
generated html
<a style="color:#215868" href="..." target="_blank">
Cigna Drug Coverage Policy No. 1316
</a>
Is there any way to control how the styles are applied to the output html?