Skip to content

Non-Angle-Bracket Block-Rendered Components Parsed Incorrectly in 0.7.0 #473

Open
@alexlafroscia

Description

@alexlafroscia

After updating to 0.7.0, some Markdown files that were previously parsed correctly no longer are.

We have a template like this:

## Simple Block Mode

{{#docs-demo as |demo|}}
  {{#demo.example name="fluid-select-simple-block-mode.hbs"}}
    {{#fluid-select
      select=(action (mut selectedFilter))
      options=filterOptions
      selected=selectedFilter
    as |select|}}
      {{select.trigger label="What kind of stuff?"}}

      {{#select.popup}}
        {{select.list}}
      {{/select.popup}}
    {{/fluid-select}}
  {{/demo.example}}
  {{demo.snippet "fluid-select-simple-block-mode.hbs"}}
{{/docs-demo}}

## Custom List

Rendering the fluid-select in this way was fine previously, but now fails; rendering it with non-angle-brackets in the "block" style messes with the way the rest of the file is parsed, so Custom List is no longer parsed as an h2.

If I convert the example code to use angle-bracket style invocation, the parsing seems to be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions