在我的html编辑器中,当我使用Html编辑器(Kendo Editor)生成项目符号时,我缩进它以创建子项目, html 返回不是我期望的。
<ul>
<li>Focusing on lifetime income replacement
<ul><li>Investing in continuous service and innovation</li></ul>
</li>
<li>Advocating for an improved retirement system</li>
<li>Achieving total financial wellness</li>
<li>Providing a distinctive, multichannel user experience for participants and plan sponsors </li>
</ul>
如您所见,ul标签位于li标签内,它会影响我的报告(我使用itextsharp来创建pdf)。
c#如何将ul标签移到li之外?有谁能给我一个解决方案。 我的期望是:
<ul>
<li>Focusing on lifetime income replacement
</li>
<ul> // Move to here
<li>Investing in continuous service and innovation</li>
</ul>
<li>Advocating for an improved retirement system</li>
<li>Achieving total financial wellness</li>
<li>Providing a distinctive, multichannel user experience for participants and plan sponsors </li>
</ul>