workaround for <p/> inside <pre> in javadoc preview in JEditorPane (IDEA-127430)

This commit is contained in:
Anna Kozlova
2014-07-21 17:56:23 +02:00
parent ae4f3d96ec
commit 824f4329b2
4 changed files with 21 additions and 0 deletions
@@ -0,0 +1,6 @@
<html><head> <style type="text/css"> #error { background-color: #eeeeee; margin-bottom: 10px; } p { margin: 5px 0; } </style></head><body><small><b><a href="psi_element://Test"><code>Test</code></a></b></small><PRE>public <a href="psi_element://java.lang.String"><code>String</code></a> <b>field = null</b></PRE>
<pre>
foo
<p></p>
bar
</pre></body></html>
@@ -0,0 +1,10 @@
class Test {
/**
* <pre>
* foo
* <p/>
* bar
* </pre>
*/
public String field = null;
}