When adding nodes one can specify the body input format . However this only supports the use for input format ids. My patch (attached) allows one to use either the input format id or its full name. The patch will validate the format data to ensure that the format is valid before the form gets built and executed.

Example:

<node>
  ...
  <format>Full HTML</format>   <!-- will get translated to the correct formate id by block.inc code -->
  ...
</node>

Related ticket: http://drupal.org/node/853720

CommentFileSizeAuthor
node.inc_.patch2.16 KBhiddentao