Title: PPTX files are corrupted when XML special characters are used · Issue #22 · pythonicrubyist/powerpoint · GitHub
Open Graph Title: PPTX files are corrupted when XML special characters are used · Issue #22 · pythonicrubyist/powerpoint
X Title: PPTX files are corrupted when XML special characters are used · Issue #22 · pythonicrubyist/powerpoint
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.ne...
Open Graph 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 'powerpo...
X 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 'pow...
Opengraph URL: https://github.com/pythonicrubyist/powerpoint/issues/22
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PPTX files are corrupted when XML special characters are used","articleBody":"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:\r\n\r\n```ruby\r\nrequire 'powerpoint'\r\n@deck = Powerpoint::Presentation.new\r\n@deck.add_textual_slide 'A&B', ['test']\r\n@deck.save('test.pptx')\r\n```\r\nOf 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.","author":{"url":"https://github.com/alemarmed","@type":"Person","name":"alemarmed"},"datePublished":"2019-05-08T07:59:52Z","url":"https://github.com/pythonicrubyist/powerpoint/issues/22"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c0682402-2de8-4746-28c6-8eee876e89de |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E9E:3E1398:6A3F3B:8E3C36:6B003735 |
| html-safe-nonce | f83bc89d31eefaa6955d1421171a1d95fad396c0bc15efc4953bc8019220b5a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTlFOjNFMTM5ODo2QTNGM0I6OEUzQzM2OjZCMDAzNzM1IiwidmlzaXRvcl9pZCI6IjgxODU0MDE3ODYwNzc1NTg1ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1c6301510cc598d14166f72f996ab6fd3fdefb5f5f2d21649958c1fcd59c5321 |
| hovercard-subject-tag | issue:441602510 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonicrubyist/powerpoint/22/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be651a49e7e126a6d155d92a1da04d5bb33b28bcdde271ac6897a75934b63e6c/pythonicrubyist/powerpoint/issues/22 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be651a49e7e126a6d155d92a1da04d5bb33b28bcdde271ac6897a75934b63e6c/pythonicrubyist/powerpoint/issues/22 |
| og:image:alt | 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 'powerpo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alemarmed |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonicrubyist/powerpoint git https://github.com/pythonicrubyist/powerpoint.git |
| octolytics-dimension-user_id | 1863594 |
| octolytics-dimension-user_login | pythonicrubyist |
| octolytics-dimension-repository_id | 17639628 |
| octolytics-dimension-repository_nwo | pythonicrubyist/powerpoint |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17639628 |
| octolytics-dimension-repository_network_root_nwo | pythonicrubyist/powerpoint |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width