mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 10:46:30 -05:00
538f41cf1c
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> |
||
---|---|---|
.. | ||
banner | ||
css | ||
docs | ||
fonts | ||
icons | ||
js | ||
uploads | ||
vendor | ||
views | ||
.eslintrc.js | ||
default.md | ||
screenshot.png |