mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 07:16:17 +00:00
Fix quoted tweets double quoting
This commit is contained in:
parent
9ebddbe0a0
commit
3c0e789ab6
@ -12,13 +12,13 @@
|
|||||||
<span>@{{user.screen_name}}</span>
|
<span>@{{user.screen_name}}</span>
|
||||||
<img src="/tweets/logo.svg" alt="Twitter Logo" class="tweet-logo">
|
<img src="/tweets/logo.svg" alt="Twitter Logo" class="tweet-logo">
|
||||||
</a>
|
</a>
|
||||||
{{#if quoted_status_id_str}}{{#with tweets[quoted_status_id_str]}}
|
{{#if this.quoted_status_id_str}}{{#with tweets[quoted_status_id_str]}}
|
||||||
<div class="tweet-quoted">
|
<div class="tweet-quoted">
|
||||||
<a href="https://twitter.com/{{user.screen_name}}/status/{{id_str}}">
|
<a href="https://twitter.com/{{user.screen_name}}/status/{{id_str}}">
|
||||||
<strong>{{{user.name_html}}}</strong>
|
<strong>{{{user.name_html}}}</strong>
|
||||||
<span>@{{user.screen_name}}</span>
|
<span>@{{user.screen_name}}</span>
|
||||||
</a>
|
</a>
|
||||||
{{#if quoted_status_id_str}}{{#with tweets[quoted_status_id_str]}}
|
{{#compare this.quoted_status_id_str '!=' this.id_str}}{{#with tweets[quoted_status_id_str]}}
|
||||||
<div class="tweet-quoted">
|
<div class="tweet-quoted">
|
||||||
<a href="https://twitter.com/{{user.screen_name}}/status/{{id_str}}">
|
<a href="https://twitter.com/{{user.screen_name}}/status/{{id_str}}">
|
||||||
<strong>{{{user.name_html}}}</strong>
|
<strong>{{{user.name_html}}}</strong>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="tweet-quoted missing">Quoted Tweet Unavailable</div>
|
<div class="tweet-quoted missing">Quoted Tweet Unavailable</div>
|
||||||
{{/with}}{{/if}}
|
{{/with}}{{/compare}}
|
||||||
<div class="tweet-quoted-text">{{{html}}}</div>
|
<div class="tweet-quoted-text">{{{html}}}</div>
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user