Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/headings in tables #60

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

diegosteiner
Copy link

When the markup contains a table with a nested heading inside, the current behavior will pass on all options of the heading to the cell, which can lead to an error like this:

undefined method `style=' for an instance of Prawn::Table::Cell::Text

Proposal: only pass on known options to prawn-table

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant