anchor.diff:        }.
   
   publish_item_children(#xmlel{} = ItemBody) ->
  -   ItemBody.
  +    [ItemBody];
  +publish_item_children([]) ->
  +    [].
  +
  +publish_item_stanza(NodeName, ItemToPublish) ->
  +    PublNode = publish_node_with_content_stanza(NodeName, ItemToPublish),
  +    pubsub_stanza([PublNode], ?NS_PUBSUB).
   
   publish_item(ItemId, PublishEntry) ->
       #xmlel{
          name = <<"item">>,
          attrs = [{<<"id">>, ItemId}],
  -       children = [publish_item_children(PublishEntry)]
  +       children = publish_item_children(PublishEntry)
         }.
   
   publish_node_children(#xmlel{} = ItemBody) ->
  -    ItemBody;
  -
  -publish_node_children(_) ->
  -    publish_node_children([]).
  +    [ItemBody];
  +publish_node_children([]) ->
  +    [].
   
   publish_node_with_content_stanza(NodeName, ItemToPublish) ->
       #xmlel{
          name = <<"publish">>,
          attrs = [{<<"node">>, NodeName}],
  -       children = [publish_node_children(ItemToPublish)]
  +       children = publish_node_children(ItemToPublish)
         }.
   
   %% Create full sample content with nested items like in example 88 of XEP-0060
  
positive.code:          iq_with_id/5,
           iq_set_get_rest/3,
           publish_item/2,
           publish_entry/1,
           pubsub_stanza/2,
           publish_node_with_content_stanza/2,
  
negative.code: -export([
           create_node_stanza/4,
           create_node_stanza/5,
           configure_node_stanza/5,
           create_specific_node_stanza/1,
           create_subscribe_node_stanza/2,
           create_request_allitems_stanza/1,
  