trailblazer/cells-rails

Why is cell output being wrapped in a default <html> tag?

JohnSmall opened this issue · 1 comments

I'm upgrading from 3.11.x to 4.1.x

I have many cells, with tests on them. They're running OK. But now I've encountered one with two strange behaviours (the other weird stuff is a separate ticket)

The output is being wrapped in this

 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" 
  "http://www.w3.org/TR/REC-html40/loose.dtd">
  <html><body> 

   mystuff

   </body>
   </html>

I can't see any difference between that cell and the others.

What might be causing this?

Are your affected tests using capybara and the others not, by any chance?