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.
Archived Comments
The docs suggest the "version": was used in CF6, and then 'ignored' in CF7 and CF8.
Valid here:
http://livedocs.adobe.com/c...
Ignored here...
http://livedocs.adobe.com/c... and here...
http://livedocs.adobe.com/c...
Guessing...
HTML 1.0 |
HTML 2.0 |
HTML 3.0 |
HTML 3.2 |
...Macromedia, decides there is little reward offering backwards compatibility for HTML, when XHTML is becoming the new 'standard'...
HTML 4.0 |
XHTML 1.0
Interesting. Thanks for digging into this David!