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

PTX: when removing unwanted p in a cell, consider that the cell may h… #1120

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

Alex-Jordan
Copy link
Contributor

…ave attributes

The regex in this line is pretty dense. What this block tries to do is described in the comment above this line. This regex does not literally do that, but it is close. To really do what the comment describes would require a lot of work.

In the meantime, there was a small flaw with the regex that this fixes. There is a place in the regex looking for a cell tag, and the assumption was it would be like <cell>. But it might be like <cell bottom="minor"> or something like that with attributes. The change makes it matches those situations too.

Copy link
Contributor

@somiaj somiaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change matches your description, but I don't have a way to test PTX output, so assuming it is fine.

@drgrice1 drgrice1 merged commit 7ef3733 into openwebwork:develop Sep 17, 2024
3 checks passed
drgrice1 added a commit that referenced this pull request Sep 17, 2024
PTX: when removing unwanted p in a cell... (hotfix of #1120)
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.

3 participants