Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Support data attribute
  • Loading branch information
Angelo Gladding committed Jul 6, 2023
commit 4ed2573d46a59e0797386b52b86d3c38f8bfccc9
2 changes: 1 addition & 1 deletion mf2py/parse_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def datetime(el, default_date=None):
def embedded(el, base_url=""):
"""Process e-* properties"""
for tag in el.find_all():
for attr in ("href", "src", "cite", "poster"):
for attr in ("href", "src", "cite", "data", "poster"):
if attr in tag.attrs:
tag.attrs[attr] = try_urljoin(base_url, tag.attrs[attr])
return {
Expand Down