Mtt
Mtt

@manton Working on Sumo/Tiny and audio tags. Can you determine why some audio tags are enclosed in paragraphs while others are not? For example, you can look on this page and see the 2 audio players (notice one is shifted over). The posts have identical HTML, the audio tags are on their own lines with line breaks above and below, they have the same controls parameter. Both posts were published using the Micro.blog web interface.

I can style for both easily enough (using audio and p:has(audio)), but I'm trying to understand the cause first. Thanks!

|
Embed
Progress spinner
Mtt
Mtt

@Mtt @manton I figured it out. When you Copy HTML from the Uploads page for an audio file, it does not include the closing audio tag. Once I add the closing tag, Micro.blog adds the p surrounding it.

|
Embed
Progress spinner
Mtt
Mtt

@Mtt @manton And one more small bug. If a podcast post ends with a markdown list, the Transcript link gets added as part of the last li item. All I had to do to fix it was add a line break after the list, but perhaps that can be done by the script that adds the Transcript link?

|
Embed
Progress spinner
manton
manton

@Mtt Thanks, I'm fixing both those issues. I had updated the audio tag in the apps recently but missed it on the web.

|
Embed
Progress spinner
manton
manton

@Mtt Looking closer at the transcript link, I think I'm going to change it to Markdown instead of HTML, that way it'll more cleanly fit with whatever Markdown might be in the post. Should fix the list issue.

|
Embed
Progress spinner
Mtt
Mtt

@manton Appreciate it!

|
Embed
Progress spinner