t / t4034 / html / poston commit create_ref_entry(): extract function from add_ref() (cddc425)
   1<tag newattr="newvalue">added content</tag>
   2<tag attr="newvalue">changed</tag>
   3<newtag>content &newentity;</newtag>