RawCell cannot be rendered so I have reordered the conditional. I could put TextCell here, but would have to add additional logic to set the heading level of heading cells to match the original. I thought about doing that but decided that it was less important to add splitting to heading cells.