hedgedoc/public/docs
Erik Michelson 538f41cf1c fix(opengraph): treat user frontmatter values as String
A bug was reported that having frontmatter fields being only numeric results in an error. This seems to be caused
as the frontmatter is processed by the yaml-parser but returned
with the types as given. So a numeric value is returned as a number,
a "true" or "false" is returned as boolean etc.
As we expect strings in the template, that resulted in an exception.

This commit fixes this by treating every value as string in the template.
Since we've got no other usages of opengraph data, this should not have been
a security problem.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-01-17 17:10:06 +01:00
..
features.md Add a reference to Mermaid 9.1.7 documentation 2023-11-12 20:47:40 +01:00
privacy.md.example Replace CodiMD with HedgeDoc 2020-11-14 21:18:36 +01:00
release-notes.md fix(opengraph): treat user frontmatter values as String 2024-01-17 17:10:06 +01:00
slide-example.md style: linting markdown files 2020-07-10 18:57:59 +02:00
yaml-metadata.md Update public/docs/yaml-metadata.md 2022-09-05 10:11:48 +02:00