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

Set PHPTAL output mode based on view doctype declaration #22

Open
xorock opened this issue Jun 18, 2013 · 0 comments
Open

Set PHPTAL output mode based on view doctype declaration #22

xorock opened this issue Jun 18, 2013 · 0 comments

Comments

@xorock
Copy link

xorock commented Jun 18, 2013

PHPTAL has 3 constants

    const XHTML = 11;
    const XML   = 22;
    const HTML5 = 55;

which are responsible for generating the corresponding closing tag for specific doctype.
Maybe You could add option for setting correct output mode being in relation with resources.view.doctype option?

Thank You in advance.

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

No branches or pull requests

1 participant