We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0c7abd commit 7d0669fCopy full SHA for 7d0669f
aztec/src/main/kotlin/org/wordpress/aztec/source/Format.kt
@@ -12,7 +12,7 @@ import java.util.regex.Pattern
12
object Format {
13
14
// list of block elements
15
- private val block = "div|br|blockquote|ul|ol|li|p|pre|h1|h2|h3|h4|h5|h6|iframe|hr|aztec_cursor"
+ private val block = "div|br|blockquote|ul|ol|li|p|pre|h1|h2|h3|h4|h5|h6|iframe|hr"
16
17
private val iframePlaceholder = "iframe-replacement-0x0"
18
@@ -251,7 +251,6 @@ object Format {
251
html = sb.toString()
252
}
253
254
- html += "\n\n"
255
256
html = replaceAll(html, "(?i)<br ?/?>\\s*<br ?/?>", "\n\n")
257
html = replaceAll(html, "(?i)(<(?:$blocklist)(?: [^>]*)?>)", "\n$1")
0 commit comments