aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/html.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc
index e9449cbd..b73fd8f7 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -2668,7 +2668,8 @@ static void Html_tag_open_source(DilloHtml *html, const char *tag,
const char *attrbuf;
if (!(html->InFlags & IN_MEDIA)) {
- BUG_MSG("<source> not inside a media element.");
+ // Can also be inside a picture element.
+ // BUG_MSG("<source> not inside a media element.");
return;
}
if (!(attrbuf = a_Html_get_attr(html, tag, tagsize, "src"))) {