fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7a72a3861c5dd1e127228858a840c9cde3555d1e
[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