# Wiki links with alias render incorrectly in table cells

**URL:** <https://community.bear.app/t/wiki-links-with-alias-render-incorrectly-in-table-cells/14432>\
**Category:** Bear feedback\
**Tags:** bug\
**Created:** [December 14, 2024, 2:42pm UTC](https://community.bear.app/t/wiki-links-with-alias-render-incorrectly-in-table-cells/14432 "2024-12-14T14:42:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcgaritydotme](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@mcgaritydotme](https://community.bear.app/u/mcgaritydotme)\
**Post date:** [December 14, 2024, 2:42pm UTC](https://community.bear.app/t/wiki-links-with-alias-render-incorrectly-in-table-cells/14432/1 "2024-12-14T14:42:31Z")

</div>

## Steps to Reproduce

1. Create a table
2. In any cell, add a wiki link with an alias. Ex: `[[1 January|01]]`

## Expected Results

1. Table parses correctly
2. Wiki link is displayed using its alias (e.g. shows as `01`)

## Actual Results

While table parsed fine, the wiki link is displayed as `1 January\0\1\|`

 ![Wiki Links in Table Header](https://europe1.discourse-cdn.com/flex013/uploads/bear/original/2X/e/ec9e08263c53b07e41bf50c5a71612f844bbc4ea.jpeg)

## Notes

1. Separate issue = the wiki link issue I reported doesn’t show up in the exported JPEG, so here’s a screenshot instead: ![Screenshot 2024-12-14 at 8.43.37 AM 1](https://europe1.discourse-cdn.com/flex013/uploads/bear/original/2X/c/c84dc3c39765de8c00f6e72dc34615562c5940e2.png)
2. Rendering is inconsistent. Ex: sometimes the alias display would be rendered as `[8 January}08`, but I wasn’t able to recreate that more than once: ![Screenshot 2024-12-14 at 8.44.17 AM](https://europe1.discourse-cdn.com/flex013/uploads/bear/original/2X/b/b7d4b6003de46e627057e46dea87198ff0d278f7.png)

---

<div class="post-metadata">

**Author:** ![matteo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/matteo/32/21_2.png) [@matteo](https://community.bear.app/u/matteo)\
**Post date:** [December 16, 2024, 10:04am UTC](https://community.bear.app/t/wiki-links-with-alias-render-incorrectly-in-table-cells/14432/2 "2024-12-16T10:04:49Z")

</div>

Unfortunately, the alias markdown syntax conflicts with the table syntax, so the `|` is escaped to prevent the table from breaking, but invalidates the alias.

We’re thinking of some workaround for it, I’ll update this thread as soon as we find something 🙂
