From b0997b2c48712d2548579190685b6962362189d0 Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Sun, 19 Feb 2012 20:04:23 +0900 Subject: [PATCH] Allow the element to contain block content. Thanks Steven Le. http://lists.w3.org/Archives/Public/html-tidy/2012JanMar/0017.html --- src/tags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tags.c b/src/tags.c index 8622eef..51049cf 100644 --- a/src/tags.c +++ b/src/tags.c @@ -156,7 +156,7 @@ static const Dict tag_defs[] = { TidyTag_UNKNOWN, "unknown!", VERS_UNKNOWN, NULL, (0), NULL, NULL }, /* W3C defined elements */ - { TidyTag_A, "a", VERS_ELEM_A, &TY_(W3CAttrsFor_A)[0], (CM_INLINE), TY_(ParseInline), NULL }, + { TidyTag_A, "a", VERS_ELEM_A, &TY_(W3CAttrsFor_A)[0], (CM_INLINE|CM_BLOCK|CM_MIXED), TY_(ParseBlock), NULL }, { TidyTag_ABBR, "abbr", VERS_ELEM_ABBR, &TY_(W3CAttrsFor_ABBR)[0], (CM_INLINE), TY_(ParseInline), NULL }, { TidyTag_ACRONYM, "acronym", VERS_ELEM_ACRONYM, &TY_(W3CAttrsFor_ACRONYM)[0], (CM_INLINE), TY_(ParseInline), NULL }, { TidyTag_ADDRESS, "address", VERS_ELEM_ADDRESS, &TY_(W3CAttrsFor_ADDRESS)[0], (CM_BLOCK), TY_(ParseInline), NULL },