Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PPTX files are corrupted when XML special characters are used #22

Open
@alemarmed

Description

Hi, we are using this gem in a project and noticed that some .pptx files were corrupted, then I found that is because text is not XML escaped. Quick and easy steps to reproduce it:

require 'powerpoint'
@deck = Powerpoint::Presentation.new
@deck.add_textual_slide 'A&B', ['test']
@deck.save('test.pptx')

Of course there's an easy workaround: escape text before adding it to the slides. But I think that it should be fixed or included in the README.md as a known issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /