Open row row row using meta tags

I am currently updating my page using facebook meta tags to get a good view when pasting the url into facebook. Unfortunately, the og: description property or any other property of a type string seems to ignore line breaks. I tried any known format for strings such as \ n or <br> but none of them work.

Does anyone know a trick or is it just impossible to add lines?

Thanks McFarlane

+4
source share
1 answer

I do not believe that Facebook, Twitter or any other content sharing sites will allow formatting data in meta tags. Your best chance is to examine how many characters these sites use in each preview line and insert the appropriate number of spaces to simulate line breaks. (If they ignore spaces)

0
source

Source: https://habr.com/ru/post/1438440/


All Articles