# Links mit Unterstrichen werden nicht automatisch einboxt

**URL:** <https://meta.discourse.org/t/links-containing-underscores-dont-get-oneboxed/80309>\
**Category:** Feature\
**Tags:** markdown\
**Created:** [11. Februar 2018 um 15:32 UTC](https://meta.discourse.org/t/links-containing-underscores-dont-get-oneboxed/80309 "2018-02-11T15:32:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![imagejan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/imagejan/32/119672_2.png) [@imagejan](https://meta.discourse.org/u/imagejan)\
**Post date:** [11. Februar 2018 um 15:32 UTC](https://meta.discourse.org/t/links-containing-underscores-dont-get-oneboxed/80309/1 "2018-02-11T15:32:15Z")

</div>

I noticed that links containing underscores (`_`) don’t get oneboxed correctly under certain conditions, because the underscores get interpreted as formatting directives.

Consider this link:

```plaintext
https://github.com/arve0/fijibin/blob/a3d2e983cb9ff2bcbb56a800084bc3b35cb9292f/fijibin/ __init__.py#L23

```

Trying to onebox:

> <https://github.com/arve0/fijibin/blob/a3d2e983cb9ff2bcbb56a800084bc3b35cb9292f/fijibin/ __init__.py#L23>

This can be worked around using `%5F` to replace the first underscore:

```plaintext
https://github.com/arve0/fijibin/blob/a3d2e983cb9ff2bcbb56a800084bc3b35cb9292f/fijibin/%5F_init__.py#L23

```

> <https://github.com/arve0/fijibin/blob/a3d2e983cb9ff2bcbb56a800084bc3b35cb9292f/fijibin/%5F_init__.py#L23>

---

_[View the full topic](https://meta.discourse.org/t/links-containing-underscores-dont-get-oneboxed/80309)._
