/oss · 2 merged

ruby-docx/docx

A Ruby library for reading and editing Word documents.

the project on GitHub (opens in a new tab)
  1. 19 Nov 2026

    Text that looks like HTML stays text when a document is shown as HTML

    What was broken
    Turning a document into HTML copied its text and link addresses in as they were, so anything that looked like a tag vanished or became real markup in the page.
    What I changed
    Text and attribute values are now escaped before they go into the HTML.
    Why it matters
    Documents show up in a browser exactly as written, and markup inside a document can't sneak into the page.

    see the code, #203 (opens in a new tab)

  2. 17 Nov 2026

    Edits to Word for the web files are saved

    What was broken
    Documents saved by Word for the web keep their text in a differently named part, so every edit was silently lost on save.
    What I changed
    The library now remembers which part it read and writes the changes back to it.
    Why it matters
    Filled-in templates and edits actually end up in the saved file.

    see the code, #202 (opens in a new tab)

← every project