# Kibana markdown not parsing parentheses properly

**URL:** <https://discuss.elastic.co/t/kibana-markdown-not-parsing-parentheses-properly/40916>\
**Category:** Kibana\
**Created:** [February 3, 2016, 9:55pm UTC](https://discuss.elastic.co/t/kibana-markdown-not-parsing-parentheses-properly/40916 "2016-02-03T21:55:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![treehouse](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@treehouse](https://discuss.elastic.co/u/treehouse)\
**Post date:** [February 3, 2016, 9:55pm UTC](https://discuss.elastic.co/t/kibana-markdown-not-parsing-parentheses-properly/40916/1 "2016-02-03T21:55:11Z")

</div>

Hi all

I reallize Kibana is using the github flavor of markdown. Even still, I'm noticing an inconsistency in creating [links](https://discuss.elastic.co/), when the urls contain [nested parentheses](https://discuss.elastic.co/(hello).html). Kibana markdown widget parses the url up to the first closing paren ')', and prints the rest as normal text.  
[![](https://dl.dropboxusercontent.com/s/wm0us01mwxy1wus/Screenshot%202016-02-04%2010.53.43.png?dl=0) ](https://dl.dropboxusercontent.com/s/wm0us01mwxy1wus/Screenshot%202016-02-04%2010.53.43.png?dl=0)

We are running `v4.1.4`.

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [February 8, 2016, 9:11pm UTC](https://discuss.elastic.co/t/kibana-markdown-not-parsing-parentheses-properly/40916/2 "2016-02-08T21:11:26Z")

</div>

This is a known issue: [https://github.com/elastic/kibana/issues/2818](https://github.com/elastic/kibana/issues/2818) Please feel free to weigh in on the discussion.

Workaround is to manually encode the URL, replacing "(" with "%28" and ")" with "%29".

---

<div class="post-metadata">

**Author:** ![treehouse](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@treehouse](https://discuss.elastic.co/u/treehouse)\
**Post date:** [February 10, 2016, 5:05am UTC](https://discuss.elastic.co/t/kibana-markdown-not-parsing-parentheses-properly/40916/3 "2016-02-10T05:05:06Z")

</div>

Nice thank you. For others, the root issue with the markdown parser -- [https://github.com/chjj/marked/issues/366](https://github.com/chjj/marked/issues/366).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:02pm UTC](https://discuss.elastic.co/t/kibana-markdown-not-parsing-parentheses-properly/40916/4 "2017-07-06T14:02:42Z")

</div>

Closed on July 6, 2017, 2:02pm UTC


