Skip to content

shorten WeBWorK tabular halign output #468

Open
@Alex-Jordan

Description

@Alex-Jordan

Presently putting something like 'halign="center"' in a webwork tabular will put halign specification into every single cell. This can quickly make even a modest table bump up against the cap on url character length.

It doesn't have to be this way. I was just lazy when initially writing the tabular template. It is possible to have the tabular's halign attribute feed into the DataTable's top-level arguments instead of into every single cell argument. I believe there is a clash with MBX's row/column priorities compared to niceTable.pl's row/column priorities, and I wanted to work around that by putting alignment into every single cell after it was calculated the MBX way. But relieving the url character cap would be worth figuring that puzzle out.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions