使用html敏捷包删除html标记之间的空格

时间:2012-07-29 19:27:35

标签: html c#-4.0 html-agility-pack

您应该尝试做的下一件事是删除para或tag开头的前导空格。对于例如你会发现许多参考像

<p class="MsoNoSpacing"><span style='font-size:12.0pt'>                In these
types of levers, the <i>fulcrum</i> F is in between the <i>effort </i>E and the
<i>load </i>L as shown in Fig 3.1 (a).</span></p>

这应该转换为

<p class="MsoNoSpacing"><span style='font-size:12.0pt'>In these
types of levers, the <i>fulcrum</i> F is in between the <i>effort </i>E and the
<i>load </i>L as shown in Fig 3.1 (a).</span></p>

我正在使用html敏捷包我可以帮助我解决这个问题

0 个答案:

没有答案