title: Multiple paragraphs in AsciiDoctor table cell
body: <p><strong>Edit:</strong> Since my problem seems to be specific to my setup, I provide a complete minimal working example here.</p>
  
  <p>This is my maven setup (<code>pom.xml</code>):</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;foo&lt;/groupId&gt;
      &lt;artifactId&gt;bar&lt;/artifactId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  
      &lt;name&gt;AsciiDoc Test&lt;/name&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.asciidoctor&lt;/groupId&gt;
                  &lt;artifactId&gt;asciidoctor-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.5.3&lt;/version&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.asciidoctor&lt;/groupId&gt;
                          &lt;artifactId&gt;asciidoctorj-pdf&lt;/artifactId&gt;
                          &lt;version&gt;1.5.0-alpha.11&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.asciidoctor&lt;/groupId&gt;
                          &lt;artifactId&gt;asciidoctorj&lt;/artifactId&gt;
                          &lt;version&gt;1.5.4&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;!-- beware, jruby 1.7.23 breaks asciidoctorj --&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.jruby&lt;/groupId&gt;
                          &lt;artifactId&gt;jruby-complete&lt;/artifactId&gt;
                          &lt;version&gt;1.7.21&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
                  &lt;configuration&gt;
                      &lt;sourceDirectory&gt;${project.basedir}/src&lt;/sourceDirectory&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;generate-pdf-doc&lt;/id&gt;
                          &lt;phase&gt;generate-resources&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;process-asciidoc&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;backend&gt;pdf&lt;/backend&gt;
                              &lt;doctype&gt;book&lt;/doctype&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>This is my AsciiDoc source (<code>src/test.adoc</code>):</p>
  
  <pre><code>[cols="a"]
  |===
  |First paragraph
  
  second paragraph
  
  |===
  </code></pre>
  
  <p>The AsciiDoc file is compiled with:</p>
  
  <pre><code>mvn generate-resources
  </code></pre>
  
  <p>This is the generated output (<code>target/generated-docs/test.pdf</code>)</p>
  
  <p><img src="https://flyx.org/files/asciidoc-paragraphs-in-table-cell.png" alt=""></p>
  
  <p>Why doesn't AsciiDoc render two paragraphs?</p>
  
  <p>Other things that do not work as expected (every example pushes the whole cell content in one paragraph):</p>
  
  <ul>
  <li>explicitly specifying <code>a</code> for the cell:</li>
  </ul>
  
  
  
  <pre><code>|===
  a|First paragraph
  
  second paragraph
  
  |===
  </code></pre>
  
  <ul>
  <li>list:</li>
  </ul>
  
  
  
  <pre><code>[cols="a"]
  |===
  |First paragraph
  
   * second paragraph
  
  |===
  </code></pre>
  
  <ul>
  <li>As non-heading:</li>
  </ul>
  
  
  
  <pre><code>[cols="1"]
  |===
  
  a|First paragraph
  
  second paragraph
  
  |===
  </code></pre>