mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
treat small as inline tag (WEB-14791)
This commit is contained in:
@@ -74,6 +74,7 @@
|
||||
"s",
|
||||
"samp",
|
||||
"select",
|
||||
"small",
|
||||
"span",
|
||||
"strike",
|
||||
"strong",
|
||||
|
||||
@@ -64,7 +64,7 @@ public class HtmlCodeStyleSettings extends CustomCodeStyleSettings {
|
||||
@Property(externalName = "inline_tags")
|
||||
@CommaSeparatedValues
|
||||
@NonNls public String HTML_INLINE_ELEMENTS =
|
||||
"a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,span,strike,strong,sub,sup,textarea,tt,u,var";
|
||||
"a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var";
|
||||
|
||||
@Property(externalName = "do_not_break_if_inline_tags")
|
||||
@CommaSeparatedValues
|
||||
|
||||
@@ -205,6 +205,10 @@ public class HtmlFormatterTest extends XmlFormatterTestBase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testSmall() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testTableformatting() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<div><small>Hello!</small></div>
|
||||
@@ -0,0 +1 @@
|
||||
<div><small>Hello!</small></div>
|
||||
Reference in New Issue
Block a user