Coverage for khufu/typography/abbr.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# encoding: utf-8
2from . import *
4def abbr(
5 abbreviation="",
6 fullWord=""):
7 """
8 *Get HTML5 Abbreviation*
10 **Key Arguments**
12 - ``abbreviation`` -- the abbreviation
13 - ``fullWord`` -- the full word
16 **Return**
18 - abbr
20 """
22 abbr = """<abbr title="%(fullWord)s" class="initialism">%(abbreviation)s</abbr>""" % locals(
23 )
25 return abbr