Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
こんにちは、 私はカスタム CMS を作成しています。ホームページで、すべての記事のリストを表示したいと思います。記事の最初の ~ 80 語が表示されます。記事のプレビューを取得する方法を見つけようとしています。
問題は、タグの途中でそれを切り取ると<a>(次のようになります<a href="blahblah">...[closing tag is cut off])、ページの残りの部分がリンクのコンテンツとして扱われることです。
<a>
<a href="blahblah">...[closing tag is cut off]
これに対処する方法は?