From 249d1c8ddb6681bd50c40239aa9053558448ea4a Mon Sep 17 00:00:00 2001 From: FinnStutzenstein Date: Fri, 23 Mar 2018 08:41:18 +0100 Subject: [PATCH] Custom numbering in PDF --- openslides/core/static/js/core/pdf.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openslides/core/static/js/core/pdf.js b/openslides/core/static/js/core/pdf.js index 149b3a94a..c14ebfba8 100644 --- a/openslides/core/static/js/core/pdf.js +++ b/openslides/core/static/js/core/pdf.js @@ -971,6 +971,12 @@ angular.module('OpenSlidesApp.core.pdf', []) case "ul": case "ol": var list = create(nodeName); + if (nodeName == 'ol') { + var start = element.getAttribute('start'); + if (start) { + list.start = start; + } + } ComputeStyle(list, styles); if (lineNumberMode === "outside") { var lines = extractLineNumbers(element);