ember-learn / ember-learn/ember-cli-addon-docs

`docs-demo` fails to compile template with certain actions on elements

Offen
#81 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
JavaScript
Sterne
172
Forks
142
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I'm trying to re-write my documentation for `ember-steps` using this addon and am running into trouble with the `docs-demo` component. For example, this snippet fails to compile in a Markdown file, despite being valid Handlebars

```hbs
{{#docs-demo as |demo|}}
{{#demo.example name='cookbook-tabs.hbs'}}
{{#step-manager as |w|}}

First Tab


Second Tab


{{#w.step name='first'}}
This content is on the first tab
{{/w.step}}

{{#w.step name='second'}}
This content is on the second tab
{{/w.step}}
{{/step-manager}}
{{/demo.example}}

{{demo.snippet 'cookbook-tabs.hbs'}}
{{/docs-demo}}
```

It chokes on this part:

```hbs

First

```

with the following error:

> Closing tag `button` (on line 7) without an open tag.

Some different variations of the `{{action}}` also fail, such as this:

```hbs

First

```

This one passes compilation, but doesn't actually do what I want it to

```hbs

First

```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.