A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

Talk:Reviewing: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
(do_not_reformat_source tag)
 
No edit summary
Line 5: Line 5:


[[User:Whitis|Whitis]] 21:51, 6 May 2009 (UTC)
[[User:Whitis|Whitis]] 21:51, 6 May 2009 (UTC)
I would recommend asking the developers of the tools you use (e.g. tidy) to support a "class" value that would do this, that way it can work even with HTML4 documents, no need to add an element or anything. [[User:Hixie|Hixie]] 21:55, 6 May 2009 (UTC)

Revision as of 21:55, 6 May 2009

Suggest a new tag:

 <do_not_reformat_source>
 </do_not_reformat_source>

To provide a standardize way to tell tools like html tidy that the code in that section should not be reformatted without an explicit override. It would do nothing in the browser. Some markup is best left as is. For example, tables, embedded structured data, etc.

Whitis 21:51, 6 May 2009 (UTC)

I would recommend asking the developers of the tools you use (e.g. tidy) to support a "class" value that would do this, that way it can work even with HTML4 documents, no need to add an element or anything. Hixie 21:55, 6 May 2009 (UTC)