agneym / agneym/generate-og-image

`*` character in `title` destroys the og image

未關閉
#56 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
48
分支
11
PR 合併指標
30 天內沒有已合併 PR

描述

using this front matter

```
ogImage:
title: "PHPStan narrows PHP_* version constants"
```

I get this ogimage

![grafik](https://github.com/user-attachments/assets/b75b20b8-7758-44ef-aae5-f55cf327aea0)

----

while using (without the `*`)

```
ogImage:
title: "PHPStan narrows PHP version constants"
```

I get this image

![grafik](https://github.com/user-attachments/assets/fd6e64d0-5cb5-474b-a870-fe957761bcd4)

I guess the `*` is missing some escaping somewhere

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。