Sequence autonumbering and Git fix options parsing

This commit is contained in:
Hans Petersen
2022-04-28 12:15:34 +02:00
parent 170ed89e9e
commit 3fcc43efdd
12 changed files with 33478 additions and 48316 deletions

View File

@@ -224,7 +224,7 @@ export const decodeEntities = function (text) {
*/
const render = function (id, _txt, cb, container) {
configApi.reset();
let txt = _txt;
let txt = _txt.replace(/\r\n?/g, '\n'); // parser problems on CRLF ignore all CR and leave LF;;
const graphInit = utils.detectInit(txt);
if (graphInit) {
directiveSanitizer(graphInit);