Merge pull request #3309 from FinnStutzenstein/Issue3307
fix not supported 'startsWith' function in IE11 (fixes #3307)
This commit is contained in:
commit
e72af0101c
@ -33,7 +33,7 @@ angular.module('OpenSlidesApp.core.docx', [])
|
|||||||
tagStack.pop();
|
tagStack.pop();
|
||||||
|
|
||||||
// Special: end paragraphs
|
// Special: end paragraphs
|
||||||
if (tag.startsWith('/p')) {
|
if (tag.indexOf('/p') === 0) {
|
||||||
docx += '</w:p>';
|
docx += '</w:p>';
|
||||||
inParagraph = false;
|
inParagraph = false;
|
||||||
}
|
}
|
||||||
|
@ -17,11 +17,6 @@ angular.module('OpenSlidesApp.motions.docx', ['OpenSlidesApp.core.docx'])
|
|||||||
function ($http, $q, operator, Config, Category, gettextCatalog, FileSaver, lineNumberingService, Html2DocxConverter) {
|
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 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;
|
var converter;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user