Custom Code removes Tel links when converted

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:
<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.

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.

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

3 Likes