PDF line numbers for new linenumbering.js (fixes #2441)
This commit is contained in:
parent
4a5aea0b81
commit
7ea1a7e481
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user