We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Provide a narrative description of what you are trying to accomplish.
In HTML5, the <head> element can be omitted. The following code will validate as HTML5:
<!DOCTYPE html> <html> <title>Title of the document</title> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html>
However, ZendDeveloperTools\Listener->injectToolbar() requires it to work
$injected = preg_replace('/<\/head>/i', $style . "\n</head>", $injected, 1);
Styles should be displayed in the html document even if there is no <head> html element when the document is html 5 document.
html document does not include zend-developer-tools required css, if <head> element is missing from the layout.
Originally posted by @VilleTikkanen at zendframework/zend-developer-tools#255
The text was updated successfully, but these errors were encountered:
Fixes #1 : Toolbar should be displayed even without <head> in HTML5
c46d045
Fixes laminas#1 : Toolbar should be displayed even without <head> in …
15aaefb
…HTML5 Signed-off-by: Abdul Malik Ikhsan <[email protected]>
@VilleTikkanen I've created PR #31 for it.
Sorry, something went wrong.
Merge pull request #31 from samsonasik/fix-1
924389a
37ab989
Successfully merging a pull request may close this issue.
Provide a narrative description of what you are trying to accomplish.
Code to reproduce the issue
In HTML5, the <head> element can be omitted. The following code will validate as HTML5:
However, ZendDeveloperTools\Listener->injectToolbar() requires it to work
Expected results
Styles should be displayed in the html document even if there is no <head> html element when the document is html 5 document.
Actual results
html document does not include zend-developer-tools required css, if <head> element is missing from the layout.
Originally posted by @VilleTikkanen at zendframework/zend-developer-tools#255
The text was updated successfully, but these errors were encountered: