fix not supported 'startsWith' function in IE11 (fixes #3307)
This commit is contained in:
parent
573fc4da57
commit
f42b6f0d37
@ -33,7 +33,7 @@ angular.module('OpenSlidesApp.core.docx', [])
|
||||
tagStack.pop();
|
||||
|
||||
// Special: end paragraphs
|
||||
if (tag.startsWith('/p')) {
|
||||
if (tag.indexOf('/p') === 0) {
|
||||
docx += '</w:p>';
|
||||
inParagraph = false;
|
||||
}
|
||||
|
@ -17,11 +17,6 @@ angular.module('OpenSlidesApp.motions.docx', ['OpenSlidesApp.core.docx'])
|
||||
function ($http, $q, operator, Config, Category, gettextCatalog, FileSaver, lineNumberingService, Html2DocxConverter) {
|
||||
|
||||
var PAGEBREAK = '<w:p><w:r><w:br w:type="page" /></w:r></w:p>';
|
||||
/*var TAGS_NO_PARAM = ['b', 'strong', 'em', 'i'];
|
||||
|
||||
var images;
|
||||
var relationships;
|
||||
var contentTypes; */
|
||||
|
||||
var converter;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user