title: Wicked_pdf avoid page-break-inside not working
body: <p>This is the result when i use Wicked_pdf to convert my <code>html.erb</code> page to <code>pdf</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/9gJrk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/9gJrk.png" alt="enter image description here"></a></p>
  
  <p><strong>Problem</strong>: Seem <code>table</code> 's <code>tr</code> has been splitted into two pages.</p>
  
  <p><strong>What i tried without success</strong>:</p>
  
  <ol>
  <li>Use <code>page-break-inside</code> as described <a href="https://stackoverflow.com/questions/13516534/how-to-avoid-page-break-inside-table-row-for-wkhtmltopdf">here</a> or <a href="https://stackoverflow.com/a/11874452/2594699">here</a></li>
  </ol>
  
  <blockquote>
    <p>table, tr, td, th, tbody, thead, tfoot {
        page-break-inside: avoid !important; }</p>
  </blockquote>
  
  <ol start="2">
  <li>putting text within a div, as explained <a href="https://stackoverflow.com/questions/9288802/avoid-page-break-inside-row-of-table/17982110#17982110">here</a></li>
  <li><a href="https://stackoverflow.com/a/37978778/2594699">here</a></li>
  </ol>
  
  <blockquote>
    <p>Another option: place each tr in its own tbody and then apply the
    peage break css rules to the tbody. Tables support multiple tbodys.
    A bit of extra markup, but works decently for me.</p>
  </blockquote>
  
  <p>I am using Ruby on Rails 4.2.6, Wicked_pdf latest version, bootstrap.</p>
  
  <p>Relate <a href="https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2141" rel="noreferrer">issue on github</a></p>
  
  <p><strong>Question</strong>: How can i make <code>table</code> 's <code>tr</code> not split into two pages.</p>