Skip to content

java generator: do not wrap comments in <pre> tags, do not escape html tags #13

@estekhin

Description

@estekhin

Java generator wraps proto comments in <pre> tag and also html-escapes the comment value.

For example, this proto definition:

// <p>a comment</p>
message MyMessage {
}

is compiled into this Java source:

/**
 * Protobuf type {@code chronos.proto.MyMessage}
 *
 * <pre>
 * &lt;p&gt;a comment&lt;/p&gt;
 * </pre>
 */
public static final class MyMessage extends ...

Please change the generator behavior or add an option that will disable this behavior.
When it is enabled, proto comments should be converted into javadoc as is, without wrapping it in any additional tags or performing any escaping.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions