aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nov.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/nov.el b/nov.el
index 27a17d6..7e09645 100644
--- a/nov.el
+++ b/nov.el
@@ -241,7 +241,7 @@ UUID."
(id (car (esxml-node-children (esxml-query selector content)))))
(when (not id)
(error "Unique identifier not found by its name: %s" name))
- (intern (replace-regexp-in-string "^urn:uuid:" "" id))))
+ (intern id)))
;; NOTE: unique identifier is queried separately as identifiers can
;; appear more than once and only one of them can be the unique one