Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
Fixing escaping of asterisk in javadoc (#723)
Browse files Browse the repository at this point in the history
The `*` form is rejected by javadoc.
  • Loading branch information
garrettjonesgoogle authored Nov 7, 2016
1 parent 562dcb4 commit c543c0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class JavaRenderingUtil {
.addEscape('&', "&")
.addEscape('<', "&lt;")
.addEscape('>', "&gt;")
.addEscape('*', "&ast;")
.addEscape('*', "&#42;")
.build();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ import java.util.concurrent.ScheduledExecutorService;
* resource model:
*
* - The API has a collection of [Shelf][google.example.library.v1.Shelf]
* resources, named ``bookShelves/&ast;``
* resources, named ``bookShelves/&#42;``
*
* - Each Shelf has a collection of [Book][google.example.library.v1.Book]
* resources, named `bookShelves/&ast;/books/&ast;`
* resources, named `bookShelves/&#42;/books/&#42;`
*
* Check out [cloud docs!](/library/example/link).
* This is [not a cloud link](http://www.google.com).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
* resource model:
*
* - The API has a collection of [Shelf][google.example.library.v1.Shelf]
* resources, named ``bookShelves/&ast;``
* resources, named ``bookShelves/&#42;``
*
* - Each Shelf has a collection of [Book][google.example.library.v1.Book]
* resources, named `bookShelves/&ast;/books/&ast;`
* resources, named `bookShelves/&#42;/books/&#42;`
*
* Check out [cloud docs!](/library/example/link).
* This is [not a cloud link](http://www.google.com).
Expand Down

0 comments on commit c543c0d

Please sign in to comment.