在撰写器的标题字段中粘贴链接,如果其中包含引号字符,则会截断标题

Try pasting these this link on try.discourse.org:

The link’s title is Timecop1983 - Let's Talk (feat. Josh Dally) _ Remaster but the generated title in Discourse will be Timecop1983 - Let:

9 个赞

It looks like the issue is at youtube_onebox.rb#45

The single-quote (') in the title isn’t html-escaped so it closes the attribute value early, which gets sanitized away

Edit: submitted a pull request

8 个赞

Merged, thank you for your contribution :meow_heart:

6 个赞