aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2016-05-31 21:58:11 +0000
committercorvid <devnull@localhost>2016-05-31 21:58:11 +0000
commitc64700c7a2b4e4912f31bd557d57fe5443cff681 (patch)
tree95671c5bfb421b53f7d35ec818e98c17ed0456a3 /src/html.cc
parenta62ef36887e74113add210f180f10b85ea8cbc50 (diff)
comment out BUG_MSG
Diffstat (limited to 'src/html.cc')
-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"))) {