Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Volt initialise a tag <style> by default

Hi, I found this afternoon in my code a tag

<style type="text/css"></style>

It appears it was constructed by Phalcon and I believe it was by Volt. Do you know if there is a way to disable this functionality? I don't like to have not clear html ^^

Thanks for your time



29.9k
Accepted
answer
edited Jul '14

I don't understand : <style type="text/css"></style> is a valid html code.

Also, there is no Volt directive that generate the above given code, so double check your code and see if there is such a code in your Volt views.

edited Jul '14

Yeah I know it's a valid html code, but I don't know why this tag showed up with no reason in my html code.

Ok I just noticed, it's my debug console which introduce that tag .... sorry for the disturbance.

When I use ctrl+U there is no track of that tag. I'm really sorry but it's pretty weird