|
|
@ -175,7 +175,7 @@ class Publications(Bureau):
|
|
|
|
#TODO: make this barcode inline thing a util method
|
|
|
|
#TODO: make this barcode inline thing a util method
|
|
|
|
encoded_svg = b64encode(bytes(svg, 'utf-8')).decode()
|
|
|
|
encoded_svg = b64encode(bytes(svg, 'utf-8')).decode()
|
|
|
|
encoded_data = "data:image/svg+xml;charset=utf-8;base64," + encoded_svg
|
|
|
|
encoded_data = "data:image/svg+xml;charset=utf-8;base64," + encoded_svg
|
|
|
|
svg = '<img src="%s"/>' % encoded_data
|
|
|
|
svg = '<img class="endnotebc" src="%s"/>' % encoded_data
|
|
|
|
footnote.append(lxml.html.fromstring(svg))
|
|
|
|
footnote.append(lxml.html.fromstring(svg))
|
|
|
|
html.append(footnote)
|
|
|
|
html.append(footnote)
|
|
|
|
|
|
|
|
|
|
|
|