Title: Superscript text doesn't get the superscript attribute · Issue #1606 · python-openxml/python-docx · GitHub
Open Graph Title: Superscript text doesn't get the superscript attribute · Issue #1606 · python-openxml/python-docx
X Title: Superscript text doesn't get the superscript attribute · Issue #1606 · python-openxml/python-docx
Description: I have text with runs containing superscript characters. One of the corresponding xml elements looks like this: X Description: I have text with runs containing superscript characters. One of the corresponding xml elements looks like this: <w:r xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main&qu...
Opengraph URL: https://github.com/python-openxml/python-docx/issues/1606
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Superscript text doesn't get the superscript attribute","articleBody":"I have text with runs containing superscript characters. One of the corresponding xml elements looks like this:\n\n```\n\u003cw:r xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\" xmlns:wpc=\"http://schemas.microsoft.com/office/word/20\n10/wordprocessingCanvas\" xmlns:mc=\"http://schemas.openxmlformats.org/markup-compatibility/2006\" xmlns:o=\"urn:schemas-microsoft-com:office:offic\ne\" xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006\n/math\" xmlns:v=\"urn:schemas-microsoft-com:vml\" xmlns:wp14=\"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing\" xmlns:wp=\"http:\n//schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing\" xmlns:w10=\"urn:schemas-microsoft-com:office:word\" xmlns:w14=\"http://schemas.\nmicrosoft.com/office/word/2010/wordml\" xmlns:wpg=\"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup\" xmlns:wpi=\"http://schemas.\nmicrosoft.com/office/word/2010/wordprocessingInk\" xmlns:wne=\"http://schemas.microsoft.com/office/word/2006/wordml\" xmlns:wps=\"http://schemas.mi\ncrosoft.com/office/word/2010/wordprocessingShape\" w:rsidRPr=\"00F80467\">\n \u003cw:rPr>\n \u003cw:rFonts w:asciiTheme=\"majorHAnsi\" w:hAnsiTheme=\"majorHAnsi\" w:cstheme=\"majorHAnsi\"/>\n \u003cw:sz w:val=\"24\"/>\n \u003cw:szCs w:val=\"24\"/>\n \u003cw:vertAlign w:val=\"superscript\"/>\n \u003c/w:rPr>\n \u003cw:t>9\u003c/w:t>\n\u003c/w:r>\n```\n\nbut the expression\n\n`run.style.font.superscript`\n\nfor that run, using Release 1.1.0+dfsg-2 of Ubuntu 24.04.4 LTS, does not yield True, which it should.\n\nSo this a bug, or maybe a missing attribute of the \"Run\" object, e.g. \"run.superscript\" which doesn't exist, like \"run.italic\" or \"run.bold\" which do exist.\n","author":{"url":"https://github.com/peerDE","@type":"Person","name":"peerDE"},"datePublished":"2026-09-08T13:57:09Z","url":"https://github.com/python-openxml/python-docx/issues/1606"}
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:3a6a5b6c-e218-b759-567a-0327d8a3a577 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id C422:26206F:78B16C:8A4742:6AFF638E html-safe-nonce d4fe6e485aa09c3259843a9a65c6546cabde6f26ce4743e08930dca0378c68ce visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDIyOjI2MjA2Rjo3OEIxNkM6OEE0NzQyOjZBRkY2MzhFIiwidmlzaXRvcl9pZCI6IjM0NTM1NTQ3ODQ3MTAxMjQ0MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== visitor-hmac be6f878039adf92db11b5e4095459cea0e0b767114f97b927a05ad03a4d45c9c hovercard-subject-tag issue:5387648951 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/python-openxml/python-docx/1606/issue_layout twitter:image https://opengraph.githubassets.com/50fcf28205cdae8c225f1953684f6cec55212de87d328f743c6f1df73f0ebc7b/python-openxml/python-docx/issues/1606 twitter:card summary_large_image og:image https://opengraph.githubassets.com/50fcf28205cdae8c225f1953684f6cec55212de87d328f743c6f1df73f0ebc7b/python-openxml/python-docx/issues/1606 og:image:alt I have text with runs containing superscript characters. One of the corresponding xml elements looks like this: og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username peerDE hostname github.com expected-hostname github.com None 41b58589a1c4eda1e3c8904144a412b88ca4455f63ca2ad3629f2e9f3c3a1d12 turbo-cache-control no-preview go-import github.com/python-openxml/python-docx git https://github.com/python-openxml/python-docx.git octolytics-dimension-user_id 3403760 octolytics-dimension-user_login python-openxml octolytics-dimension-repository_id 13592924 octolytics-dimension-repository_nwo python-openxml/python-docx octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 13592924 octolytics-dimension-repository_network_root_nwo python-openxml/python-docx 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 8968d6d6acc65d74e4df332d23932dd3fd0502a4 ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.