Case sensitive marketo class names

Anonymous
Not applicable

Case sensitive marketo class names

I'm building out my template pages using a task runner.

One of the processes in my task is to inline any external css and js to the html template.

For some reason the task runner is converting mktoName to mktoname.

Is that an issue, or does the case not matter?

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Case sensitive marketo class names

HTML attribute names are case-insensitive and canonically rendered in lower case.

XML attribute names, by contrast, are case-sensitive.

It could be debated that templates are not intended to be valid HTML4/5 themselves but merely an XHTML-like preprocessing language, but that's probably a losing battle so the conversion makes sense.