Skip to content

Commit

Permalink
Fixed issue with internal links in parameter comment blocks not rende…
Browse files Browse the repository at this point in the history
…ring correctly
  • Loading branch information
tgreyuk committed Sep 28, 2017
1 parent 3290d25 commit 9eb4da9
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/theme/partials/member.parameters.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{{getParametersTableHeaders parameters}}
{{#each parameters}}
| {{ name }} | {{#with type}}{{>type}}{{/with}} {{#if defaultValue}} | {{defaultValue}} | {{/if}} {{#unless defaultValue}} | {{/unless}} {{{ getStrippedComment comment }}} |
| {{ name }} | {{#with type}}{{>type}}{{/with}} {{#if defaultValue}} | {{defaultValue}} | {{/if}} {{#unless defaultValue}} | {{/unless}} {{#getMarkdownFromHtml}}{{#markdown}}{{{ getStrippedComment comment }}}{{/markdown}}{{/getMarkdownFromHtml}} |
{{/each}}
{{getNewLine}}{{getNewLine}}
{{/if}}
Expand Down
4 changes: 2 additions & 2 deletions tests/mocks/bitbucket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ This is a function with multiple arguments and a return value.
| Param | Type | Description |
| ------ | ------ | ------ |
| paramZ | `string` | This is a string parameter. |
| paramG | `any` | This is a parameter flagged with any. This sentence is placed in the next line. |
| paramG | `any` | This is a parameter flagged with any. This sentence is placed in the next line. |
| paramA | [INameInterface](interfaces/inameinterface.md) | This is a **parameter** pointing to an interface. |


Expand Down Expand Up @@ -773,7 +773,7 @@ This is a function with multiple arguments and a return value.
| Param | Type | Description |
| ------ | ------ | ------ |
| paramZ | `string` | This is a string parameter. |
| paramG | `any` | This is a parameter flagged with any. This sentence is placed in the next line. |
| paramG | `any` | This is a parameter flagged with any. This sentence is placed in the next line. |
| paramA | [INameInterface](interfaces/inameinterface.md) | This is a **parameter** pointing to an interface. |


Expand Down
2 changes: 1 addition & 1 deletion tests/mocks/bitbucket/classes/genericclass.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ ___

| Param | Type | Description |
| ------ | ------ | ------ |
| value | `T` | [[getValue]] is the counterpart. |
| value | `T` | [getValue](genericclass.md#markdown-header-getvalue) is the counterpart. |



Expand Down
2 changes: 1 addition & 1 deletion tests/mocks/bitbucket/classes/nongenericclass.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ ___

| Param | Type | Description |
| ------ | ------ | ------ |
| value | [SubClassB](subclassb.md) | [[getValue]] is the counterpart. |
| value | [SubClassB](subclassb.md) | [getValue](nongenericclass.md#markdown-header-getvalue) is the counterpart. |



Expand Down
2 changes: 1 addition & 1 deletion tests/mocks/default/classes/_classes_.genericclass.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ ___

| Param | Type | Description |
| ------ | ------ | ------ |
| value | `T` | [[getValue]] is the counterpart. |
| value | `T` | [getValue](_classes_.genericclass.md#getvalue) is the counterpart. |



Expand Down
2 changes: 1 addition & 1 deletion tests/mocks/default/classes/_classes_.nongenericclass.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ ___

| Param | Type | Description |
| ------ | ------ | ------ |
| value | [SubClassB](_classes_.subclassb.md) | [[getValue]] is the counterpart. |
| value | [SubClassB](_classes_.subclassb.md) | [getValue](_classes_.nongenericclass.md#getvalue) is the counterpart. |



Expand Down
4 changes: 2 additions & 2 deletions tests/mocks/default/modules/_functions_.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ This is a function with multiple arguments and a return value.
| Param | Type | Description |
| ------ | ------ | ------ |
| paramZ | `string` | This is a string parameter. |
| paramG | `any` | This is a parameter flagged with any. This sentence is placed in the next line. |
| paramG | `any` | This is a parameter flagged with any. This sentence is placed in the next line. |
| paramA | [INameInterface](../interfaces/_classes_.inameinterface.md) | This is a **parameter** pointing to an interface. |


Expand Down Expand Up @@ -517,7 +517,7 @@ This is a function with multiple arguments and a return value.
| Param | Type | Description |
| ------ | ------ | ------ |
| paramZ | `string` | This is a string parameter. |
| paramG | `any` | This is a parameter flagged with any. This sentence is placed in the next line. |
| paramG | `any` | This is a parameter flagged with any. This sentence is placed in the next line. |
| paramA | [INameInterface](../interfaces/_classes_.inameinterface.md) | This is a **parameter** pointing to an interface. |


Expand Down

0 comments on commit 9eb4da9

Please sign in to comment.