Skip to content

Commit

Permalink
Javadoc sections misaligned
Browse files Browse the repository at this point in the history
Regression from cbc03c2

The code moved from JavadocContentAccess2 to CoreJavadocAccessImpl
changed dt/dd tags to ul/li tag pairs, and that broke javadoc alignment.

This commit restores original tag pairs used for javadoc formatting.

Fixes #1346
  • Loading branch information
iloveeclipse committed Apr 23, 2024
1 parent a1cc709 commit c7a7b9d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,17 @@
* Helper to get the content of a Javadoc comment as HTML.
*/
public class CoreJavadocAccessImpl implements IJavadocAccess {
protected static final String BLOCK_TAG_START= "<ul>"; //$NON-NLS-1$
protected static final String BLOCK_TAG_START= "<dl>"; //$NON-NLS-1$

protected static final String BLOCK_TAG_END= "</ul>"; //$NON-NLS-1$
protected static final String BLOCK_TAG_END= "</dl>"; //$NON-NLS-1$

protected static final String BlOCK_TAG_TITLE_START= "<dt>"; //$NON-NLS-1$

protected static final String BlOCK_TAG_TITLE_END= "</dt>"; //$NON-NLS-1$

protected static final String BlOCK_TAG_ENTRY_START= "<li>"; //$NON-NLS-1$
protected static final String BlOCK_TAG_ENTRY_START= "<dd>"; //$NON-NLS-1$

protected static final String BlOCK_TAG_ENTRY_END= "</li>"; //$NON-NLS-1$
protected static final String BlOCK_TAG_ENTRY_END= "</dd>"; //$NON-NLS-1$

protected static final String PARAM_NAME_START= "<b>"; //$NON-NLS-1$

Expand Down

0 comments on commit c7a7b9d

Please sign in to comment.