fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change default cover.
[librarian.git]
/
src
/
librarian
/
builders
/
html.py
diff --git
a/src/librarian/builders/html.py
b/src/librarian/builders/html.py
index
18a5b36
..
7504a66
100644
(file)
--- a/
src/librarian/builders/html.py
+++ b/
src/librarian/builders/html.py
@@
-51,7
+51,8
@@
class HtmlBuilder:
return self.current_cursors[-1]
def enter_fragment(self, fragment):
return self.current_cursors[-1]
def enter_fragment(self, fragment):
- self.current_cursors.append(self.cursors[fragment])
+ cursor = self.cursors.get(fragment, self.cursor)
+ self.current_cursors.append(cursor)
def exit_fragment(self):
self.current_cursors.pop()
def exit_fragment(self):
self.current_cursors.pop()