# Custom Code removes Tel links when converted

**URL:** <https://forum.bootstrapstudio.io/t/custom-code-removes-tel-links-when-converted/12392>\
**Category:** Bug Reports\
**Created:** [July 28, 2025, 9:51pm UTC](https://forum.bootstrapstudio.io/t/custom-code-removes-tel-links-when-converted/12392 "2025-07-28T21:51:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![catkin](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/catkin/32/4993_2.png) [@catkin](https://forum.bootstrapstudio.io/u/catkin)\
**Post date:** [July 28, 2025, 9:51pm UTC](https://forum.bootstrapstudio.io/t/custom-code-removes-tel-links-when-converted/12392/1 "2025-07-28T21:51:57Z")

</div>

## The issue:

A recent project I have been working on has a series of phone numbers, and to speed up the process I imported the list using a custom code element, then converted this back to Bootstrap Components. Once I did this BSS stripped out the links to the numbers.

## Replicate issue:

1. Add a custom code element.
2. Paste in the following:

```HTML
<a href="tel:+00000000000">(000) 000‑0000</a>

```

1. Right click on the code element from the Overview panel, and choose “convert to components”.
2. View that the link is now been removed.

## Expected Behaviour:

The links should be preserved during the conversion and show correctly.

---

<div class="post-metadata">

**Author:** ![kuligaposten](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/kuligaposten/32/1190_2.png) [@kuligaposten](https://forum.bootstrapstudio.io/u/kuligaposten)\
**Post date:** [July 28, 2025, 10:56pm UTC](https://forum.bootstrapstudio.io/t/custom-code-removes-tel-links-when-converted/12392/2 "2025-07-28T22:56:54Z")

</div>

All non-data attributes, such as `hx-get="/user"` or `onclick="clicked()"`, are removed when converting to components. However, the `data-show="true"` attribute will remain after the conversion.  
It’s quite annoying that the code doesn’t work after conversion.

---

<div class="post-metadata">

**Author:** ![martin](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/martin/32/3_2.png) [@martin](https://forum.bootstrapstudio.io/u/martin)\
**Post date:** [July 29, 2025, 7:40am UTC](https://forum.bootstrapstudio.io/t/custom-code-removes-tel-links-when-converted/12392/3 "2025-07-29T07:40:44Z")

</div>

Thank you for the report! We will look into this.
