ワード ドキュメントから Expressions Web にコピー アンド ペーストすると、奇妙な動作が発生します。以下の単語からの私のスクリーンショットでは、一番上の行が 1 つの<span>
タグに配置され、残りの行が別の<span>
タグに配置され、2 つのタグの間にわずかなギャップが生じることがあります。これは、HTML を使用したコーディング方法の新しい標準になりつつありますか、それとも、単語ドキュメントに表示されない隠し文字/改行がありますか? たとえば、直接コピー/貼り付けすると、この HTML が表示されます
<p class="MsoNormal"><b><u>This is the top row of my information<o:p>
</o:p></u></b></p>
<span style="font-size:12.0pt;font-family:"
Times New Roman";mso-fareast-font-family:
"Times New Roman";mso-ansi-language:EN-US;
mso-fareast-language:EN-US;
mso-bidi-language:AR-SA">This is information that should come
up under the top
row and I am just trying to span it for more than 1 line,
maybe go to 2 or three
or four or five or six.<span style="mso-spacerun: yes"> </span>
Oh here comes
more and more and more and more and more and more and more and more.
<span style="mso-spacerun: yes">
</span>Oh I am not done yet, not yet not yet.
<span style="mso-spacerun: yes">
</span>Okay I think this is enough once I reach one more last line.
<span style="mso-spacerun: yes">
</span>Almost to the end, yes I hit it!</span>
この構文を使用するだけで、まったく同じことが実現できます。
<p><strong><u>This is the top row of my information</u></strong><br>
This is information that should come up under the top row and I am just
trying to span it for more than 1 line, maybe go to 2 or three or four or
five or six. Oh here comes more and more and more
and more and more and more and more and more. Oh I am not done yet,
not yet not yet. Okay I think this is enough once I reach one more last
line. Almost to the end, yes I hit it!</p>
Expressions を使用した余分な構文が必要なのはなぜですか?