Skip to main content
Jun 24, 2016 2:54 PM UTC
Question

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
User Group Leader
User Group Leader
Jun 24, 2016 6:41 PM UTC

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.

Translate