F
F
Flender2015-10-29 21:23:28
JavaScript
Flender, 2015-10-29 21:23:28

The tag breaks the layout of the template, what can be done about it?

There is a .phtml template that lists several view templates:

<script type="text/template" id="some_id">
</script>

Inside some of them there are constructions of the form:
<script type="text/javascript">
</script>

Regardless of the content, the layout breaks in a strange way.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
inDeepCode, 2015-10-29
@Flender

probably because the closing tag of the inner construct closes the outer one.
they need to be diluted, i.e. take one out of the other.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question