Skip to content

Commit

Permalink
fix: escape text to prevent auto links
Browse files Browse the repository at this point in the history
Otherwise we the Asciidoc auto links feature will generate broken links.
  • Loading branch information
zregvart committed Mar 21, 2022
1 parent a64871a commit 060a195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/examples/template/kamelet-options.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The following table summarizes the configuration options available for the \`{na
| Property| Name| Description| Type| Default| Example
|===

jsonpathTable::example$yaml/${basename}.kamelet.yaml[query='nodes$.spec.definition.properties.*',cellformats='util.boldLink(name)|value.title|util.description(value)|util.valueAsString(value.type)|util.valueAsString(value.default)|util.valueAsString(value.example)',{requires},transform=kamelets.sort]
jsonpathTable::example$yaml/${basename}.kamelet.yaml[query='nodes$.spec.definition.properties.*',cellformats='util.boldLink(name)|value.title|util.description(value)|util.valueAsString(value.type)|util.valueAsString(value.default)|util.escapeAutoLinks(util.valueAsString(value.example))',{requires},transform=kamelets.sort]

endif::[]

Expand Down

0 comments on commit 060a195

Please sign in to comment.