fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add support for predesigned covers to Marquise. Remove support for changing cover...
[librarian.git]
/
src
/
librarian
/
elements
/
ref
/
__init__.py
1
from ..base import WLElement
2
3
4
class Ref(WLElement):
5
ASIDE = True
6
HTML_TAG = 'a'
7
8
def txt_build(self, builder):
9
pass
10
11
def get_html_attr(self, builder):
12
return {
13
'class': 'reference',
14
'data-uri': self.attrib.get('href', ''),
15
}
16
17
def epub_build(self, builder):
18
pass