Skip to content

Commit

Permalink
Add workaround for javadoc issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed Aug 21, 2024
1 parent 71d4714 commit e58b57b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public final class {{ my_class_name }} {
* <p>Notes:
{# NOTE: replace("> ", "") removes the following problematic characters which produce mangled javadoc: #}
{# https://github.com/open-telemetry/semantic-conventions/blob/c83a10a9c33c18a769835e959200d0e24dc708fe/model/resource/k8s.yaml#L34-L38 #}
<ul><li>{{ attribute.note | replace("> ", "") | trim }}</li></ul>
<ul><li>{{ attribute.note | trim | replace("> ", "") | markdown_to_html | replace("<p>","") | trim }}</li></ul>
{%- endif %}
*
{%- if attribute is deprecated %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public final class {{ my_class_name }} {
* <p>Notes:
{# NOTE: replace("> ", "") removes the following problematic characters which produce mangled javadoc: #}
{# https://github.com/open-telemetry/semantic-conventions/blob/c83a10a9c33c18a769835e959200d0e24dc708fe/model/resource/k8s.yaml#L34-L38 #}
<ul><li>{{ attribute.note | replace("> ", "") | markdown_to_html | trim }}</li></ul>
<ul><li>{{ attribute.note | trim | replace("> ", "") | markdown_to_html | replace("<p>","") | trim }}</li></ul>
{%- endif %}
*
{%- if attribute is deprecated %}
Expand Down

0 comments on commit e58b57b

Please sign in to comment.