joffrey-bion / livedoc

A not-so-annotation-based documentation generator for REST and websocket services
MIT License
4 stars 2 forks source link

HTML is not properly displayed in ApiType descriptions #115

Closed ST-DDT closed 6 years ago

ST-DDT commented 6 years ago

Describe the bug

If there is HTML in the javadoc of a property it will be displayed as plain text and not handled as HTML. HTML in javadocs of types works as expected.

Expected behavior

HTML javadocs works for both class level and field level javadoc.

Screenshots

nothtml

Environment/Context

Small extract from the generated json

{
"description": "The full amount .... \n ...\n entry. Precision is limited to one decimal digit. It will use the\n <code>RoundingMode#HALF_UP</code>."
}

And here the source file.

/**
 * The full amount ...
 * ...
 * entry. Precision is limited to one decimal digit. It will use the
 * {@link RoundingMode#HALF_UP}.
 */
public Numeric amount;
joffrey-bion commented 6 years ago

Thanks for opening this, I had noticed it last week and fixed it in commit eff70c605b65c99aedc22bcca1f457309614f5f3. It will be part of the next release.