I am using SharePoint 2013. I have created a new search page. On this page you see the search result webpart and the refiner webpart etc. I have selected the search result page layout. Now I have cloned the default item search display template. I give it another name and upload it in the gallery:
In the settings of my search result property I have selected this custom search display template and it works. I can see my custom logic. But I see in my display template this code:
I would like to clone also the logic begind this method. How can I clone the OOTB body ? See also the red marked area what I mean with the OOTB body of each item.