diff --git a/src/main/java/org/asciidoc/intellij/editor/javafx/JavaFxHtmlPanel.java b/src/main/java/org/asciidoc/intellij/editor/javafx/JavaFxHtmlPanel.java
index 39bc67fe6..a4a0c2d87 100644
--- a/src/main/java/org/asciidoc/intellij/editor/javafx/JavaFxHtmlPanel.java
+++ b/src/main/java/org/asciidoc/intellij/editor/javafx/JavaFxHtmlPanel.java
@@ -51,6 +51,7 @@
import org.asciidoc.intellij.settings.AsciiDocApplicationSettings;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
+import org.w3c.dom.html.HTMLImageElement;
import javax.swing.*;
import java.awt.*;
@@ -85,7 +86,6 @@ protected String compute() {
return new StringBuilder()
.append("\n")
.append("\n")
- .append("\n")
.append("\n")
.append("