@anon
sign up
@anon
sign up
0 sats
\
0 replies
\
@k00b
13 Sep
\
parent
\
on: SN release: account switching, anon edits, video uploads, bugfixes
meta
Yeah it's tricky. We have 3 different media "modes":
alone, surrounded by no other media or content (double newlines between it and other non-media content)
adjacent to other media each in their own
p
tags (double newlines between them)
adjacent to other media all in the same
p
tag (spaces or single newlines between them)
The post above covers an edge case I didn't cover (it's very tricky without preprocessing): non-media elements in the same
p
tag as the media.
Good one! Testing video upload ![](https://m.stacker.news/51741)
write
preview
reply
100 sats
p
tags (double newlines between them)p
tag (spaces or single newlines between them)p
tag as the media.