# Escape pipe symbol in textile table

**URL:** <https://www.ruby-forum.com/t/escape-pipe-symbol-in-textile-table/152028>\
**Category:** Rails\
**Created:** [October 29, 2008, 9:31am UTC](https://www.ruby-forum.com/t/escape-pipe-symbol-in-textile-table/152028 "2008-10-29T09:31:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pheew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/977dab/32.png) [@pheew](https://www.ruby-forum.com/u/pheew)\
**Post date:** [October 29, 2008, 9:31am UTC](https://www.ruby-forum.com/t/escape-pipe-symbol-in-textile-table/152028/1 "2008-10-29T09:31:09Z")

</div>

This is not really a RoR specific question but i figured some of you  
might know the answer.

I’m trying to create a table in textile like this:

bc…  
|@.@|Any character except new line (\n)|  
|. @(a|b)@|a or b|  
bc.

As you can see, on the second row in the first column I need to ouput a  
pipe symbol(|). But obviously textile sees this as a column specifier  
for the table.  
I tried escaping like |(a==|==b)| and |(a|b) but none of the  
options give me the desired output.

Does anyone know how I can include a pipe symbol in a textile table?

---

<div class="post-metadata">

**Author:** ![pheew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/977dab/32.png) [@pheew](https://www.ruby-forum.com/u/pheew)\
**Post date:** [October 29, 2008, 9:33am UTC](https://www.ruby-forum.com/t/escape-pipe-symbol-in-textile-table/152028/2 "2008-10-29T09:33:56Z")

</div>

Niek Bruins wrote:

> bc…  
> |@.@|Any character except new line (\n)|  
> |. @(a|b)@|a or b|  
> bc.

Ignore the bc… and bc. tags. I’ve put them there because I thought  
ruby-forum would interpret my textile table and convert to a HTML table.
