adar2378 927744673e Fix ValueError in remove_namespaces when tag name contains colon
When an EPUB contains elements with custom namespace prefixes (e.g.
<vita:metadata>), the remove_namespaces method in the KF8 writer
crashes with `ValueError: Invalid tag name 'vita:'`.

The existing except ValueError block only strips colons from attribute
names but does not handle the tag name itself. This causes the second
makeelement call to raise the same ValueError.

Fix: replace colons with hyphens in the tag name before retrying,
consistent with how colon-containing attributes are already handled.
2026-04-05 22:31:26 +06:00
...
2025-03-11 15:19:51 +05:30
2026-03-31 08:40:06 +05:30
2024-11-24 22:01:57 +05:30
2025-03-21 08:09:41 +05:30
...
2026-03-27 14:44:36 +05:30
2025-03-25 09:30:01 +01:00
2026-04-01 21:06:08 +02:00
2021-01-24 19:53:30 +09:00
2021-01-24 19:53:30 +09:00
2025-10-10 08:24:39 +02:00
2025-05-09 19:10:59 +05:30

calibre

calibre is an e-book manager. It can view, convert, edit and catalog e-books in all of the major e-book formats. It can also talk to e-book reader devices. It can go out to the internet and fetch metadata for your books. It can download newspapers and convert them into e-books for convenient reading. It is cross platform, running on Linux, Windows and macOS.

For more information, see the calibre About page.

Build Status

Screenshots

Screenshots page

Usage

See the User Manual.

Development

Setting up a development environment for calibre.

A tarball of the source code for the current calibre release.

Bugs

Bug reports and feature requests should be made in the calibre bug tracker at Launchpad. GitHub is only used for code hosting and pull requests.

Support calibre

calibre is a result of the efforts of many volunteers from all over the world. If you find it useful, please consider contributing to support its development. Donate to support calibre development.

Building calibre binaries

See Build instructions for instructions on how to build the calibre binaries and installers for all the platforms calibre supports.

calibre package versions in various repositories

Packaging Status

S
Description
The official source code repository for the calibre ebook manager
Readme GPL-3.0 350 MiB
Languages
Python 92.6%
C++ 3.3%
C 3.1%
HTML 0.4%
Shell 0.2%
Other 0.2%