Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Formatter erasing comments #663

Closed
@nireno

Description

@nireno

The formatter is usually kind to comments but on line 81 in this example:

<Swiper8
      tag="section"
      id="swiper-example"
      \"aria-label"="Example Content"
      loop=true
      allowTouchMove=true
      spaceBetween=20
      slidesPerView=3.5
      autoHeight=true
      ref={ReactDOM.Ref.domRef(swiperRef)}
      onInit={swiper => {
        Swiper8.fixA11y(swiper)
      }}
      onSlideChange={swiper => {
        Swiper8.fixA11y(swiper)
      }}
      // onSlideChangeTransitionEnd={swiper => {
      //   Swiper8.fixA11y(swiper)
      // }}
      > ... </Swiper8>

it gets hungry and eats the comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions