fix(javadoc-gen): @code tag rendering full line

Turns out there was another edge case that the ones from the Youtrack issues.

GitOrigin-RevId: 6bccd3d0aa4fc121059558b847ba90731d9c8962
This commit is contained in:
Mathias Boulay
2024-09-12 16:53:39 +02:00
committed by intellij-monorepo-bot
parent e05667345c
commit 68242cd5b9
4 changed files with 32 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
<html><head><base href="placeholder"></head><body><div class='definition'><pre><span style="color:#000080;font-weight:bold;">class</span> <span style="color:#000000;">Test</span></pre></div><div class='content'>
<pre>
Some text with inline <code><span style="">code</span></code>
</pre>
<pre><code><span style="">String&#32;fullLine&#32;=&#32;</span><span style="color:#008000;font-weight:bold;">""</span><span style="">;</span></code></pre> </pre>
</div><table class='sections'><p></table>

View File

@@ -0,0 +1,13 @@
/**
* <pre>
* Some text with inline {@code code}
* </pre>
* <pre>
* {@code
* String fullLine = "";
* }
* </pre>
*/
class Test {
public String field = null;
}