attrs-heading-last-attr-inline

Last-attr rule: last {} on heading line goes to Section; earlier {} attaches to preceding inline

§6.1.2

Input

= Heading **bold**{.b} {#h}

Output AST

- type: Section
  level: 1
  heading:
    - type: Text
      value: "Heading "
    - type: Strong
      children:
        - type: Text
          value: bold
      attributes:
        - key: class
          value:
            - b
  attributes:
    - key: id
      value: h