Closed MichelleBlanchette closed 1 year ago
This was fixed by ca98a02ef4a365e0deb781f1710e59c9ea33dba6
It had to do with fixing the regex to allow for <object>
tags with attributes (previously expected no attributes) and then decoding HTML entities to ensure the parsed URLs matched during comparison.
I don't know why the YouTube video is even showing up as a task attachment. I haven't investigated this further, but I suspect it's because the YouTube video is included in the task description as an inline attachment that isn't being properly removed during server-side processing. The server-side processing is supposed to remove inline attachments from the task's attachments array. Only non-inline attachments should be included in the remaining attachments array.
Console warning:
Console warning attachment data example: