mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Fixed meta parsing of lang-attribute for using it in the published-view
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
ee4210a511
commit
e4214f32a0
2 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,7 @@ exports.getPublishData = function (req, res, note, callback) {
|
|||
const data = {
|
||||
title: title,
|
||||
description: meta.description || (markdown ? models.Note.generateDescription(markdown) : null),
|
||||
lang: meta.lang || null
|
||||
lang: meta.lang || null,
|
||||
viewcount: note.viewcount,
|
||||
createtime: createtime,
|
||||
updatetime: updatetime,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue