Telerik Radpdf导出不支持<br />
我的代码:
e.RawHTML = e.RawHTML.Replace("</thead><tbody>", "</thead><tbody><tr><td>" + divHeader.InnerHtml + "</td></tr>");
string strLast = "</tbody>";
int intIndex = e.RawHTML.LastIndexOf(strLast);
e.RawHTML = e.RawHTML.Remove(intIndex, strLast.Length).Insert(intIndex, "<tr><td>" + divFooter.InnerHtml + "</td></tr></tbody>");
e.RawHTML = e.RawHTML.Replace(@"<br /><br /><br /><br /><br /><br />", "<p></p>");
e.RawHTML = e.RawHTML.Replace("class=\"listSquare\"", "style=\"list-style-type: square\"");
e.RawHTML = e.RawHTML.Replace("class=\"Alpha\"", "style=\"list-style-type:lower-alpha; \"");
我想在div页脚中留出空格,它已经出现在e.rawhtml
中,但没有出现在pdfexport