@lionrapid/core 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4893,6 +4893,20 @@ var __lionrapidAutoExports = (() => {
4893
4893
  { selector: "[title]", attr: "title", type: "title" },
4894
4894
  { selector: "input[placeholder], textarea[placeholder]", attr: "placeholder", type: "placeholder" },
4895
4895
  { selector: 'meta[name="description"][content]', attr: "content", type: "meta-description" },
4896
+ // Social preview text. Without these no auto_ key is ever generated for
4897
+ // them, so a fully translated page still shares to Slack or LinkedIn with
4898
+ // an English card. Both spellings: OG specifies `property`, Twitter cards
4899
+ // conventionally use `name`, and real pages mix the two freely.
4900
+ {
4901
+ selector: 'meta[property="og:title"][content], meta[name="og:title"][content], meta[property="twitter:title"][content], meta[name="twitter:title"][content]',
4902
+ attr: "content",
4903
+ type: "title"
4904
+ },
4905
+ {
4906
+ selector: 'meta[property="og:description"][content], meta[name="og:description"][content], meta[property="twitter:description"][content], meta[name="twitter:description"][content]',
4907
+ attr: "content",
4908
+ type: "meta-description"
4909
+ },
4896
4910
  {
4897
4911
  selector: 'input[type="submit"][value], input[type="button"][value], input[type="reset"][value]',
4898
4912
  attr: "value",