Show entities from original status in a quote status. Fixes #3080
This commit is contained in:
parent
7fc29837a1
commit
e35b913d23
|
@ -165,6 +165,7 @@ private extension TwitterStatus {
|
||||||
func renderAsQuoteHTML(_ quotedStatus: TwitterStatus, topLevel: Bool) -> String {
|
func renderAsQuoteHTML(_ quotedStatus: TwitterStatus, topLevel: Bool) -> String {
|
||||||
var html = String()
|
var html = String()
|
||||||
html += renderAsTweetHTML(self, topLevel: topLevel)
|
html += renderAsTweetHTML(self, topLevel: topLevel)
|
||||||
|
html += extendedEntities?.renderAsHTML() ?? ""
|
||||||
html += "<blockquote>"
|
html += "<blockquote>"
|
||||||
if let userHTML = quotedStatus.user?.renderAsHTML() {
|
if let userHTML = quotedStatus.user?.renderAsHTML() {
|
||||||
html += userHTML
|
html += userHTML
|
||||||
|
|
Loading…
Reference in New Issue