We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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



43.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