~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to src/calibre/ebooks/constants.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-05-14 18:17:50 UTC
  • mfrom: (1.5.10)
  • Revision ID: package-import@ubuntu.com-20140514181750-xyrxqa47dbw0qfhu
Tags: 1.36.0+dfsg-1
* New upstream release:
  - Fixes editing of metadata (Closes: #741638)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
# vim:fileencoding=utf-8
 
3
from __future__ import (unicode_literals, division, absolute_import,
 
4
                        print_function)
 
5
 
 
6
__license__ = 'GPL v3'
 
7
__copyright__ = '2014, Kovid Goyal <kovid at kovidgoyal.net>'
 
8
 
 
9
html5_tags = (  # {{{
 
10
frozenset('''\
 
11
html
 
12
head
 
13
title
 
14
base
 
15
link
 
16
meta
 
17
style
 
18
script
 
19
noscript
 
20
body
 
21
section
 
22
nav
 
23
article
 
24
aside
 
25
h1
 
26
h2
 
27
h3
 
28
h4
 
29
h5
 
30
h6
 
31
header
 
32
footer
 
33
address
 
34
p
 
35
hr
 
36
br
 
37
pre
 
38
dialog
 
39
blockquote
 
40
ol
 
41
ul
 
42
li
 
43
dl
 
44
dt
 
45
dd
 
46
a
 
47
q
 
48
cite
 
49
em
 
50
strong
 
51
small
 
52
mark
 
53
dfn
 
54
abbr
 
55
time
 
56
progress
 
57
meter
 
58
code
 
59
var
 
60
samp
 
61
kbd
 
62
sub
 
63
sup
 
64
span
 
65
i
 
66
b
 
67
bdo
 
68
ruby
 
69
rt
 
70
rp
 
71
ins
 
72
del
 
73
figure
 
74
img
 
75
iframe
 
76
embed
 
77
object
 
78
param
 
79
video
 
80
audio
 
81
source
 
82
canvas
 
83
map
 
84
area
 
85
table
 
86
caption
 
87
colgroup
 
88
col
 
89
tbody
 
90
thead
 
91
tfoot
 
92
tr
 
93
td
 
94
th
 
95
form
 
96
fieldset
 
97
label
 
98
input
 
99
button
 
100
select
 
101
datalist
 
102
optgroup
 
103
option
 
104
textarea
 
105
output
 
106
details
 
107
command
 
108
bb
 
109
menu
 
110
legend
 
111
div'''.splitlines()))  # }}}