From b4a2cfa279ac777f1c331ffcf46da6f9394c5bf3 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 28 Mar 2016 12:52:01 +0100 Subject: Default the ID prefix to the empty string --- lib/document-to-html.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/document-to-html.js b/lib/document-to-html.js index 96dc740..baf900e 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -35,9 +35,7 @@ function DocumentConversion(options) { var noteReferences = []; options = _.extend({ignoreEmptyParagraphs: true}, options); - var idPrefix = options.idPrefix === undefined ? - Math.floor(Math.random() * 1000000000000000) + "-" : - options.idPrefix; + var idPrefix = options.idPrefix === undefined ? "" : options.idPrefix; var defaultParagraphStyle = htmlPaths.topLevelElement("p"); -- cgit v1.2.3