Skip to content

Commit 75b01e8

Browse files
committed
Remove br from block elements
1 parent b1097af commit 75b01e8

File tree

1 file changed

+1
-1
lines changed
  • aztec/src/main/kotlin/org/wordpress/aztec/source

1 file changed

+1
-1
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/source/Format.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import java.util.regex.Pattern
66
object Format {
77

88
// list of block elements
9-
private val block = "div|span|br|blockquote|ul|ol|li|p|h1|h2|h3|h4|h5|h6"
9+
private val block = "div|span|blockquote|ul|ol|li|p|h1|h2|h3|h4|h5|h6"
1010

1111
fun addFormatting(content: String): String {
1212
val doc = Jsoup.parseBodyFragment(content)

0 commit comments

Comments
 (0)