antoniop
committed
on 18 Mar
Remove href from the variables we inspect the item for in a file link:

this variable is most likely set, therefore embed_options will be no… Show more
Remove href from the variables we inspect the item for in a file link:

this variable is most likely set, therefore embed_options will be non-empty and most links downstream will be rendered via <embed>

instead than a plain link.

Furthermore, it does appear as non standard according to e.g. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed and would probably conflict with the src attribute, which is always set.

Show less