# Why do my custom results display "no content" on the list result page?

**URL:** <https://community.swiftype.com/t/why-do-my-custom-results-display-no-content-on-the-list-result-page/53>\
**Category:** Styling\
**Created:** [December 21, 2015, 9:45pm UTC](https://community.swiftype.com/t/why-do-my-custom-results-display-no-content-on-the-list-result-page/53 "2015-12-21T21:45:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/swiftype/original/1X/fd652d1735c60057fa71c371375511028f9a1832.png) [@system](https://community.swiftype.com/u/system)\
**Post date:** [December 21, 2015, 9:45pm UTC](https://community.swiftype.com/t/why-do-my-custom-results-display-no-content-on-the-list-result-page/53/1 "2015-12-21T21:45:02Z")

</div>

> My custom results are showing “no content” after a search in the results page and I can’t customize the description on my Swiftype dashboard. this happen when I add a custom order in my results controls tab.

This is happening because positioned results do not have highlights (since they match the search result by being manually ranked instead of a search hit).

Your **renderFunction** looks like this:

```auto
var customRenderer = function(documentType, item) {
  var data = {
    title: item['title'],
    url: item['url'],
    body: item.highlight['body'] || 'No content.'
  };
  return resultTemplate.render(data);
};

```

You need to handle the case where **item.highlight[‘body’]** is not present.

Try something like this:

```auto
item['highlight']['body'] || Swiftype.htmlEscape(item['body'])

```

The **item[‘body’]** field may have HTML in it (it depends how you are indexing the content) so it should be escaped. The highlighted version is already HTML escaped with the exception of the _highlighting tags._

 

_Also, the **item[‘body’]** field is not truncated, so you may want to do that in your code._
