getgrav / getgrav/grav-plugin-admin

Apostrophe in description metadata is not displayed correctly

Open
#1,940 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

When specifying text with an apostrophe in a metadata description, the text displayed on the web page does not parse correctly.

Code:
```yaml
metadata:
description: 'C''est un texte de test'
```

Expected result:
```html

```

Actual result:
```html

```

I also tried by using double quotes to surround the text, but it doesn't change anything.

I am running Grav v1.6.23

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.