Page MenuHomePhabricator

Literal block doesn't work inside tables
Closed, DuplicatePublic

Description

While looking for a way to escape a | inside a table cell (using the pipe table syntax, not the HTML syntax) I discovered that the literal block %%% syntax doesn't work inside tables.

Side question: Is there a way to escape | inside a table cell when using the pipe syntax?

Example of markup I expect to work.

| asdf | %%%asdf ||%%% |

<table><tr><td>%%%inside
literal%%%</td></tr></table>

Rendered preview:

asdf%%%asdf%%%
%%%inside
literal%%%

Event Timeline

jpoehls raised the priority of this task from to Needs Triage.
jpoehls updated the task description. (Show Details)
jpoehls added a project: Remarkup.
jpoehls added a subscriber: jpoehls.
chad triaged this task as Wishlist priority.Jun 17 2014, 9:11 PM

Similar issue: backticks don't escape the pipe in table syntax.

| Operator | Example |
| --- | --- |
| Bitwise AND | `a & b` |
| Bitwise OR | `a | b` |
| Logical OR | `a || b` |
OperatorExample
Bitwise ANDa & b
Bitwise OR`ab`
Logical OR`ab`

You end up with a horrible mess.