Sorry for all the 'why' questions today - but this is the second time today I've run into something weird in ColdFusion. Did you know that both HTMLEditFormat and HTMLCodeFormat take a second argument? The argument, version, is supposed to allow you to specify what version of HTML to target. But for both tags - the argument is ignored. Even though the argument is ignored, the docs list out 3 possible values:

  • -1: The latest implementation of HTML
  • 2.0: HTML 2.0 (default)
  • 3.2: HTML 3.2

I'm wondering if this is something that was planned a while ago and just forgotten - like the cfexecute oddity I found earlier.