# Cómo permitir ciertas etiquetas HTML en la personalización

**URL:** <https://meta.discourse.org/t/how-to-allow-certain-html-tags-in-customization/83592>\
**Category:** Product Support\
**Created:** [22 Marzo, 2018 20:50 UTC](https://meta.discourse.org/t/how-to-allow-certain-html-tags-in-customization/83592 "2018-03-22T20:50:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [28 Marzo, 2018 03:54 UTC](https://meta.discourse.org/t/how-to-allow-certain-html-tags-in-customization/83592/3 "2018-03-28T03:54:08Z")

</div>

This is just a proof of concept, so you’ll have to play around with it to see how/if it can work for your needs. Try adding this to the `</head>` tab of a theme:

```plaintext
<script type="text/discourse-plugin" version="0.8.18">
    api.decorateWidget('header-contents:after', helper => {
        return helper.rawHtml(`<gcse:search linkTarget="_self"></gcse:search>`);
    });
</script>

```

(Edit: improved the answer a little after having more time to look at it 🙂)

---

_[View the full topic](https://meta.discourse.org/t/how-to-allow-certain-html-tags-in-customization/83592)._
