# length tag not properly shown in html

**URL:** https://community.mp3tag.de/t/length-tag-not-properly-shown-in-html/14947
**Category:** General Discussion
**Created:** [July 30, 2013, 5:27pm UTC](https://community.mp3tag.de/t/length-tag-not-properly-shown-in-html/14947 "2013-07-30T17:27:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mnat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/258eb7/32.png) [@mnat](https://community.mp3tag.de/u/mnat)
#### Post date: [July 30, 2013, 5:27pm UTC](https://community.mp3tag.de/t/length-tag-not-properly-shown-in-html/14947/1 "2013-07-30T17:27:46Z")

</div>

It seems that some of the tags doesn't properly work when exporting to HTML.

I have added

```
        <tr>
            <th class="title">Title</th>
            <th class="title">Bitrate</th>
        </tr>

$loop(%title%)
        <tr>
            <td$if($odd(%_counter%), class="odd",)>$replace(%title%,&,&amp;)</td>
            <td$if($odd(%_counter%), class="odd",)>$replace(%bitrate%,&,&amp;)</td>>
        </tr>

```

But in the column for bitrate I see some integer number 1723338 (even not all of the rows contain lenght). However the length should be in form of mm:ss

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [July 30, 2013, 5:46pm UTC](https://community.mp3tag.de/t/length-tag-not-properly-shown-in-html/14947/2 "2013-07-30T17:46:45Z")

</div>

I cannot see the \_length field in your export.  
Also, I do not see in my export that the \_length field does not comply with your preferred format.

---

<div class="post-metadata">

### Author: ![mnat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/258eb7/32.png) [@mnat](https://community.mp3tag.de/u/mnat)
#### Post date: [July 30, 2013, 6:05pm UTC](https://community.mp3tag.de/t/length-tag-not-properly-shown-in-html/14947/3 "2013-07-30T18:05:55Z")

</div>

Excuse me for the typo while writing the snippet. But I got it!  
I wrote

```
<td$if($odd(%_counter%), class="odd",)>$replace(%length%,&,&amp;)</td>

```

and now I chang it to

```
<td$if($odd(%_counter%), class="odd",)>$replace(%_length%,&,&amp;)</td>

```

and it is fine. Many thanks
