Apache slabs convert an open tag and a close tag without content into an empty tag.
For example, it <script src="some.js"></script>will be written as <script src="some.js"/>that breaks my HTML.
<script src="some.js"></script>
<script src="some.js"/>
How to prevent this behavior?
The solution below works. Here's how Spring Roo circumvents this issue.
<script src="some.js"><!----></script>
" HTML"? , validator.w3.org? XML. DTD HTML-? XHTML, .
. text/html application/xhtml+xml? , - XHTML, text/html.
text/html
application/xhtml+xml
script , , Tiles. . Tiles , - , , , javascript?
, ?
<script src="some.js" type="text/javascript"></script>
<script src="some.js" type="text/javascript"> </script>
Not too sure that the above will even solve the verification problem, even if it works
Source: https://habr.com/ru/post/1719090/More articles:Как изменить тег, чтобы я мог выбрать изображение в CSS? - htmlHow to unleash an event - javascriptReading CSS files in .NET. - cssFriend's class and all its descendants - c ++C ++ laws? (similar to the Law of the Big Three) - c ++KeyError with dict.fromkeys () and dict-like object - pythonC # - Is there any WPF HTML / Javascript / CSS syntax editor? - c #Calculating a month as an “interim" period in java - javaHTMLPurifier, validate an entire HTML document - htmlWhy does dom not sync after jquery ajax call and update? - jqueryAll Articles