dimensi / xhtml2pug

11 stars 2 forks source link

Element CamelCase names are converted to lowercase #5

Closed geoidesic closed 2 years ago

geoidesic commented 2 years ago

Eexample:

  <div>
    <div v-if="showform">
      <component-loading :loading="loadingData">
        <MyFormLoader
        />
        <OtherFormLoader
        />
      </component-loading>
    </div>
  </div>

Is converted to:

 div
  div(v-if="showform")
    component-loading(:loading="loadingData")
      myformloader
        otherformloader

When it should be converted to:

div
  div(v-if="showform")
    component-loading(:loading="loadingData")
      my-form-loader
      other-form-loader

OR

div
  div(v-if="showform")
    component-loading(:loading="loadingData")
      MyFormLoader
      OtherFormLoader
dimensi commented 2 years ago

https://github.com/dimensi/xhtml2pug/issues/4#issuecomment-1114302220

geoidesic commented 2 years ago

Tx.