Answer the question
In order to leave comments, you need to log in
Where does the extra space appear when inserting html code into the page?
Hello.
Such a situation: I am writing a module for Bitrix (analogous to a plugin on wordpress) and ran into an incomprehensible situation
screenshot of the source code on wordpress: joxi.ru/VrwM1nxsOeoQv2 the
arrow shows where the problem will be.
screenshot of the Bitrix source code: joxi.ru/EA46E1YfwEXzMm
and now a space appeared from somewhere...????
this html code is generated on the server, loaded via ajax and inserted into the page and that's it.
But for some reason, on wordpress, he inserts it normally, but in Bitrix, he adds such a space ...
Does anyone know how this works?
The code on the server is generated without spaces, the space appears after $("#container").html(ajax.html) in Bitrix
Thank you!
joxi.ru/82QqyMXTjx8Jq2
Answer the question
In order to leave comments, you need to log in
You have something like this: and inside the tag some kind of garbage instead of arguments:
And for screenshots - a minus in karma. <sometag data-options="{" >
format":"dd-mm-yy
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question