Index: Source/core/html/parser/HTMLConstructionSite.cpp |
diff --git a/Source/core/html/parser/HTMLConstructionSite.cpp b/Source/core/html/parser/HTMLConstructionSite.cpp |
index 7c6b27a2cd0da23c5f0bb6ddc259843009996441..e917706e404508585197e974f3bc50e4018ffa3e 100644 |
--- a/Source/core/html/parser/HTMLConstructionSite.cpp |
+++ b/Source/core/html/parser/HTMLConstructionSite.cpp |
@@ -73,8 +73,10 @@ static bool hasImpliedEndTag(const HTMLStackItem* item) |
|| item->hasTagName(optionTag) |
|| item->hasTagName(optgroupTag) |
|| item->hasTagName(pTag) |
+ || item->hasTagName(rbTag) |
|| item->hasTagName(rpTag) |
- || item->hasTagName(rtTag); |
+ || item->hasTagName(rtTag) |
+ || item->hasTagName(rtcTag); |
} |
static bool shouldUseLengthLimit(const ContainerNode& node) |