Skip to main content
June 24, 2016
Question

Case sensitive marketo class names

  • June 24, 2016
  • 1 reply
  • 1001 views

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
Level 10
June 24, 2016

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.