Comments (5)
Yep, I'll include it here too:
GTS:
<span class="h-card"><a class="u-url mention" href="https://queer.party/@yavien" rel="ugc nofollow noreferrer noopener" target="_blank">@<span>yavien</span></a></span> seconded from my own personal experience<span class="quote-inline"><br><br>RE: <a href="https://queer.party/users/yavien/statuses/112333867184539778" rel="nofollow noreferrer noopener" target="_blank">https://queer.party/users/yavien/statuses/112333867184539778</a></span>
Mastodon:
<span class="h-card"><a class="u-url mention" href="https://queer.party/@yavien" rel="nofollow noopener noreferrer" target="_blank">@<span>yavien</span></a></span> seconded from my own personal experience<span class=""><br><br>RE: <a href="https://queer.party/users/yavien/statuses/112333867184539778" rel="nofollow noopener noreferrer" target="_blank">https://queer.party/users/yavien/statuses/112333867184539778</a></span>
diff:
- experience<span class=""><br><br>RE: <a href=
+ experience<span class="quote-inline"><br><br>RE: <a href=
edit:
I want quote-inline
to be sanitized until (or if) GoToSocial adds quote support. That class is used by AP servers that support quotes to indicate what elements are included for compatibility with clients that do not support displaying the quoted posts.
So in the case of Tuba, since we do display quoted posts when provided, we remove any elements that have the quote-inline
class. From our side, we will now also check if a quoted post is provided at all before removing those elements but other clients might not do that so it's better if GTS just sanitizes that, like Mastodon does!
from gotosocial.
Could you give an example? It's not totally clear from the issue what's being removed, what's not being removed, and what should be kept.
from gotosocial.
I think there's an example in GeopJr/Tuba#926 (comment), if you expand the "Details" thingy.
from gotosocial.
Oh OK, we could probably just add that to our sanitizer then.
from gotosocial.
Got it, thanks for the extra detail π
from gotosocial.
Related Issues (20)
- [help] Split-domain δΈθ½η»ε½ phanpy.social ε neodb.social HOT 13
- [Frontend HTML Markup] Add specific body classes to different frontend pages HOT 1
- Separate storage configuration for media caching HOT 1
- [feature] Domain names as usernames HOT 4
- [performance/chore] Update local + federated (public) timelines to use `internal/timeline`
- [bug] Delivery goroutines experienced a panic with "not yet initialized" while executing CLI commands HOT 1
- [bug] fedilab shows error after boosting post HOT 7
- [bug] twblue and possibly software based around mastodon.pi doesn't work HOT 6
- [bug] Remote edits of media descriptions are not applied HOT 1
- [bug] Unable to interact with ktistec users HOT 1
- [bug] Duplicate boost notifications HOT 6
- [bug/frontend] Custom emoji shortcode is not changed after addition/changed input file HOT 1
- [feature] Expose Mastodon API compatible version and identify platform as GotoSocial in the version string HOT 7
- [bug] "sql: no rows in result set" when attempting to accept an incoming follow request HOT 1
- [bug] External Users can still see followings/followers of a follow-hiddened account HOT 4
- [bug] Posting undo of a "like" to the inbox may result in 500 internal server error HOT 1
- [chore/frontend] Refactor layout + styling for consistency
- We're on holiday from May 8th up to and including May 26th
- [bug] filters donβt seem to always work HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gotosocial.