Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Check the API version in the longpoll setting in the VK group, it should be 5.87
Gmail does the same thing by turning addresses into links to Google maps, which can also make the text color mismatch with the background color. True, this happens in a simplified, not a modern interface (Yandex has the opposite).
The way out is to preventively make addresses links (at least to Yandex maps, at least to Google maps, or, so that no one is offended, to OpenStreetMap), explicitly setting your own styles for these links. Links cannot be nested, so the postal service will not be able to add its link either from the outside or from the inside, and replacing the link would be completely dishonorable.
I solved the problem by wrapping each word in my own span, adding a hidden character at the end of the word so that the robot would not recognize the address. In your case it would look like this:
<span style="color:#ffffff;">г. Москва,</span> <span style="display:none;">||</span>
<span style="color:#ffffff;">Варшавское ш.,</span> <span style="display:none;">||</span>
<span style="color:#ffffff;">12 а</span> <span style="display:none;">||</span>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question