-
Notifications
You must be signed in to change notification settings - Fork 794
Closed
Description
Issue Category
- Enhancement
- Bug
- Question
- Documentation gap/issue
Product Versions
- Please specify what version of the library you are using......: 4.0.1
- Please specify what version(s) of PowerPoint you are targeting: newest?
- Please specify what web browser you are using.................: irrelevant
Desired Behavior
Setting company name works
const powerpoint = new pptxgenjs()
// ... set up master slide
powerpoint.company = "Acme, Inc. & Partners > competitors"
// ... set up slides
// ... exportExpect the file to work perfectly.
Observed Behavior
Generates XML (docProps/app.xml):
<Company>Acme, Inc. & Partners > competitors</Company>PowerPoint will report broken file. In Web PowerPoint it can repair automatically, but we will lose the company information.
Steps to Reproduce
Set company name to contain any unsafe XML characters and experience broken export.
Metadata
Metadata
Assignees
Labels
No labels