mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
terminate dd/dt auto-closing at dl
#WEB-19451 fixed
This commit is contained in:
@@ -368,6 +368,10 @@ public class HtmlParsing {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ("dl".equals(parentName) && ("dd".equals(childName) || "dt".equals(childName))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (HtmlUtil.canTerminate(childName, parentName)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user