jdavisclark / CaseConversion

Case conversion plugin (pascal, camel, snake) for sublime text 2
MIT License
300 stars 47 forks source link

Inconsistent camelCase #45

Open paleite opened 6 years ago

paleite commented 6 years ago

Hi, first of all, thanks for a great plugin! I use it daily at work and it's a huge time-saver.

I noticed today that camelCase seems to only work for some cases when the first word is all uppercase.

HTML tag is cased correctly, whereas SCRIPT tag is the buggy one.

Input:

HTML tag
SCRIPT tag

Expected output:

htmlTag
scriptTag

Actual output:

htmlTag
sCRIPTTag

Thanks again and hope this helps!