Skip to content

Slashes end up in the html output when using triple-slash comments #298

@aschrijver

Description

@aschrijver

Thanks for your nice project.

I noticed a bug when using triple-slash comments ///. If you have this:

/// Hypercore Info message.
message Info {

  /// If you have a comment line, like this, that occupies multiple lines here and is
  /// long enough to also break in html, then the html output contains a single forward
  /// slash that shouldn't be there.
  optional bool uploading = 1;
  optional bool downloading = 2;
}

When using the /** ... */ style comments there are no issues, so I'm using only these now.

Versions:

  • Ubuntu 16.04
  • libprotoc 2.6.1
  • protoc-gen-doc 0.9 (presumably, but protoc-gen-doc --version is not supported to confirm that)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions