mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Expose parseMeta function
This commit is contained in:
parent
f678d9b814
commit
f4f2497d23
3 changed files with 4 additions and 1 deletions
|
@ -1083,5 +1083,6 @@ module.exports = {
|
||||||
scrollToHash: scrollToHash,
|
scrollToHash: scrollToHash,
|
||||||
owner: owner,
|
owner: owner,
|
||||||
updateLastChangeUser: updateLastChangeUser,
|
updateLastChangeUser: updateLastChangeUser,
|
||||||
updateOwner: updateOwner
|
updateOwner: updateOwner,
|
||||||
|
parseMeta: parseMeta
|
||||||
};
|
};
|
||||||
|
|
|
@ -52,6 +52,7 @@ var scrollToHash = extra.scrollToHash;
|
||||||
var owner = extra.owner;
|
var owner = extra.owner;
|
||||||
var updateLastChangeUser = extra.updateLastChangeUser;
|
var updateLastChangeUser = extra.updateLastChangeUser;
|
||||||
var updateOwner = extra.updateOwner;
|
var updateOwner = extra.updateOwner;
|
||||||
|
var parseMeta = extra.parseMeta;
|
||||||
|
|
||||||
var historyModule = require('./history');
|
var historyModule = require('./history');
|
||||||
var writeHistory = historyModule.writeHistory;
|
var writeHistory = historyModule.writeHistory;
|
||||||
|
|
|
@ -8,6 +8,7 @@ var generateToc = extra.generateToc;
|
||||||
var smoothHashScroll = extra.smoothHashScroll;
|
var smoothHashScroll = extra.smoothHashScroll;
|
||||||
var postProcess = extra.postProcess;
|
var postProcess = extra.postProcess;
|
||||||
var updateLastChange = extra.updateLastChange;
|
var updateLastChange = extra.updateLastChange;
|
||||||
|
var parseMeta = extra.parseMeta;
|
||||||
var preventXSS = require('./render').preventXSS;
|
var preventXSS = require('./render').preventXSS;
|
||||||
|
|
||||||
var markdown = $("#doc.markdown-body");
|
var markdown = $("#doc.markdown-body");
|
||||||
|
|
Loading…
Reference in a new issue