# Custom Kirbytag, multiple lines

**URL:** <https://forum.getkirby.com/t/custom-kirbytag-multiple-lines/23132>\
**Category:** Questions\
**Tags:** v3\
**Created:** [August 13, 2021, 1:30pm UTC](https://forum.getkirby.com/t/custom-kirbytag-multiple-lines/23132 "2021-08-13T13:30:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thguenther](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/thguenther/32/16708_2.png) [@thguenther](https://forum.getkirby.com/u/thguenther)\
**Post date:** [August 13, 2021, 1:30pm UTC](https://forum.getkirby.com/t/custom-kirbytag-multiple-lines/23132/1 "2021-08-13T13:30:25Z")

</div>

I’m building a custom Kirbytag for a client project:

```php
// simplyfied code:
'link' => [
  'attr' => [
    'text',
  ],
  'html' => function ($tag) {
    return '<a href="' . $tag->value. '">' . svg('assets/images/link.svg') . $tag->text . '</a>';
  }
],

```

It seems like the tags content is parsed by markdown because the line breaks in the svg lead to `<br>` and `<p>` elements scattered everywhere. For now I manually removed all of the breaks from the SVG file but it should be changeable by the client at some point.

Can I somehow prevent this from happening?
