在我的 html 编辑器中,当我使用 Html 编辑器(剑道编辑器)生成项目符号时,我缩进它以创建子项目符号,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>