aboutsummaryrefslogtreecommitdiff
path: root/nov.el
diff options
context:
space:
mode:
authorVasilij Schneidermann <mail@vasilij.de>2017-11-05 00:40:58 +0100
committerVasilij Schneidermann <mail@vasilij.de>2017-11-05 00:40:58 +0100
commite499e7f3ac756b6c48bfa1641c7c79970d4eb904 (patch)
tree022bd79e200204bc04f22dc24c8af1d65d80d59a /nov.el
parent19ab463864f137b43704b4f34173349c88e84d8e (diff)
Undo stripping identifiers
Diffstat (limited to 'nov.el')
-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