PDF line numbers for new linenumbering.js (fixes #2441)

This commit is contained in:
sean 2016-09-27 12:59:21 +02:00
parent 4a5aea0b81
commit 7ea1a7e481

View File

@ -21,7 +21,7 @@ angular.module('OpenSlidesApp.motions.site', ['OpenSlidesApp.motions', 'OpenSlid
* other project that might want to use this HTML to PDF parser. * other project that might want to use this HTML to PDF parser.
* https://github.com/OpenSlides/OpenSlides/issues/2361 * https://github.com/OpenSlides/OpenSlides/issues/2361
*/ */
return converter.convertHTML($scope.lineBrokenText, $scope); return converter.convertHTML(motion.getTextWithLineBreaks($scope.version, 0), $scope);
} else { } else {
return converter.convertHTML(motion.getText($scope.version), $scope); return converter.convertHTML(motion.getText($scope.version), $scope);
} }