Closed fritzmg closed 3 years ago
In the extractor classes replaceInsertTags is used for all fields. However, if you use
replaceInsertTags
DAS {{br}}MODEL {{br}}UND SEIN {{br}}TÜFTLER
in a news headline for example (in order to force breaks at specific points), the resulting og:title for example will be
og:title
<meta prefix="og: http://ogp.me/ns#" property="og:title" content="DAS <br>MODELL <br>UND SEIN <br>TÜFTLER">
which will then look like this when sharing:
To fix this any HTML tags should be stripped for these HTML attributes.
Thanks @fritzmg
In the extractor classes
replaceInsertTags
is used for all fields. However, if you usein a news headline for example (in order to force breaks at specific points), the resulting
og:title
for example will bewhich will then look like this when sharing:
To fix this any HTML tags should be stripped for these HTML attributes.