# Adjusting Enterprise App Search UI to display Highlighted Results

**URL:** <https://discuss.elastic.co/t/adjusting-enterprise-app-search-ui-to-display-highlighted-results/332186>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [May 2, 2023, 5:59am UTC](https://discuss.elastic.co/t/adjusting-enterprise-app-search-ui-to-display-highlighted-results/332186 "2023-05-02T05:59:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aisyaharifin](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@aisyaharifin](https://discuss.elastic.co/u/aisyaharifin)\
**Post date:** [May 2, 2023, 5:59am UTC](https://discuss.elastic.co/t/adjusting-enterprise-app-search-ui-to-display-highlighted-results/332186/1 "2023-05-02T05:59:41Z")

</div>

Hello,

So I have a situation where I configure my zip file App Search Code to display in tabular format.

It works, however, I've got problem in highlighting the words section as it will highlighted the results in itallic format.

I would like to display it back in highlighted manner but couldn't find a way how.

I didn't get solution from my previous post, thus I'm creating new one.

> [@Enterprise App Search UI Configuration](https://discuss.elastic.co/t/enterprise-app-search-ui-configuration/329384/10):
>
> Hi @joemcelroy , Thank you for your reply, I able to apply it and it will emphasize. However, how do I configure it to become highlighted instead in itallic? Thank you.

Currently it will highlighted the results in itallic format as below image.  
This happened after I apply the `dangerouslySetInnerHTML ` attribute to render the markup as suggested from my previous post.

 ![Itallic Highlight](https://us1.discourse-cdn.com/elastic/original/3X/4/d/4da96a8eef9decc865aab483f0ea46589faec1b8.png)

The one that I would like to display is going to look like below image, which is the default highlighted results.

 ![Highlighted](https://us1.discourse-cdn.com/elastic/original/3X/0/6/06127f89836a563e3668f9ae80170a31a0d9924a.png)

Thank you.

---

<div class="post-metadata">

**Author:** ![joemcelroy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joemcelroy/32/103757_2.png) [@joemcelroy](https://discuss.elastic.co/u/joemcelroy)\
**Post date:** [May 2, 2023, 8:37am UTC](https://discuss.elastic.co/t/adjusting-enterprise-app-search-ui-to-display-highlighted-results/332186/2 "2023-05-02T08:37:52Z")

</div>

Hey there,

Keywords that are highlighted in the response will be wrapped in an `em` html element. You will need to style the table and values accordingly with css.

Search UI doesn't provide "out the box" styling for tables and highlights so by default its shown how the browser renders em elements (which is shown in italic).

I suggest read up on how to style with css so that you can apply styling to the table and to the highlighted elements.

Joe

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 30, 2023, 8:38am UTC](https://discuss.elastic.co/t/adjusting-enterprise-app-search-ui-to-display-highlighted-results/332186/3 "2023-05-30T08:38:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
