Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow snippets in parameter definitions #239

Closed
vors opened this issue Nov 16, 2016 · 1 comment
Closed

Allow snippets in parameter definitions #239

vors opened this issue Nov 16, 2016 · 1 comment
Milestone

Comments

@vors
Copy link
Collaborator

vors commented Nov 16, 2016

Steps to reproduce

There is a legitimate use of snippets in parameter descriptions.
I.e. https://github.com/PowerShell/PowerShell-Docs/blob/a3fbff254eb48ce1fcb94995a07a6052b1841c78/reference/5.1/Microsoft.PowerShell.Utility/ConvertFrom-String.md#-templatefile

Expected behavior

We should be able to compile it

Actual behavior

Exception calling "NodeModelToMamlModel" with "1" argument(s):
"F:\dev\PowerShell-Docs\reference\5.0\Microsoft.PowerShell.Utility\ConvertFrom-String.md:346:(1308) '```
{Name*:David Chew}
{City:Redmond}, {State:...'
 Invalid yaml: unknown key {Name*"
At F:\dev\platyPS\out\platyPS\platyPS.psm1:1224 char:9
+         $maml = $t.NodeModelToMamlModel($model)
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : HelpSchemaException

Environment data

0.7.3

@vors
Copy link
Collaborator Author

vors commented Nov 18, 2016

Fixed per #60a3a40

@vors vors closed this as completed Nov 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant