Skip to content

Drop POST_HEADER_TEXT support. - #1533

Open
drgrice1 wants to merge 1 commit into
openwebwork:developfrom
drgrice1:drop-post-header-text
Open

Drop POST_HEADER_TEXT support.#1533
drgrice1 wants to merge 1 commit into
openwebwork:developfrom
drgrice1:drop-post-header-text

Conversation

@drgrice1

@drgrice1 drgrice1 commented Sep 4, 2026

Copy link
Copy Markdown
Member

There is no valid reason for a problem to use POST_HEADER_TEXT. Anything that you want after the HTML head can be added to the problem text itself. There was an invalid comment about iframes suggesting that this method be used if a page embedded in an iframe contains a form. However, it does not need to be outside of the problem form. It is in an iframe which is a completely separate page, and will not conflict with the outer page's form.

Note that a problem author can still add to the head section of the HTML page with HEADER_TEXT.

This method is not used by any problem in the OPL or Contrib.

I have had this sitting here for 3 years. I am pulling the trigger on it.

There is no valid reason for a problem to use `POST_HEADER_TEXT`.
Anything that you want after the HTML `head` can be added to the problem
text itself.  There was an invalid comment about iframes suggesting that
this method be used if a page embedded in an iframe contains a form.
However, it does not need to be outside of the problem form.  It is in
an iframe which is a completely separate page, and will not conflict
with the outer page's form.

Note that a problem author can still add to the `head` section of the
HTML page with `HEADER_TEXT`.

This method is not used by any problem in the OPL or Contrib.
@drgrice1
drgrice1 force-pushed the drop-post-header-text branch from 4f65a32 to e3b6db9 Compare September 4, 2026 21:52
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