dvamvo / html2pug

19 stars 8 forks source link

The upper case issue of tags #12

Open tongjieme opened 3 years ago

tongjieme commented 3 years ago
<FormItem label="Input">
            <Input v-model="formItem.input" placeholder="Enter something..."></Input>
        </FormItem>

Expected result should be remain as "FormItem" instead of "formitem".

Because some Vue code are case sensitive in tag names.

popnoodles commented 3 years ago

It also converts attribute keys to lowercase. I always have to remember to convert isvalid back to isValid for example

TheKvikk commented 1 year ago

Converts SVG's clipPath/linearGradient to lowercase which are invalid in Safari.