Try using the PHP Make Insert Page instead. There is a version in my
repository[1] that includes some additional goodies beyond the stock
version. As with the PHP Make Markup Page Action, you put any PHP you
want to have preserved into the Before HTML slot of the Page/HTML
Markup dialog.
Thanks again Walt, I downloaded the action and used it as you describe.
However I noticed I was using PHP MAKE MARK UP with the PHP MARK UP action (using this action to add my PHP code i.e. not in the Before HTML slot of the Page/HTML Markup dialog).
However I noticed I was using PHP MAKE MARK UP with the PHP MARK UP action (using this action to add my PHP code i.e. not in the Before HTML slot of the Page/HTML Markup dialog).
I wonder if this generated the doctype tag?
It’s possible, but I think more likely there was a problem with the old Action (written in the Freeway 3 development cycle) rather than anything else.
Freeway 4 and 5 changed the way that Actions accessed the DOCTYPE tag. Previously, this tag could only be located through serious raw-text processing. Later versions of Freeway extended the Actions API to allow the Action author to directly access and remove this tag, and in the process, rendered the old trick unusable.