0 | module Text.Html.Elements.Elab
19 | attributesFunc : String
34 | defaultConfig : Config
35 | defaultConfig = MkConfig "" True True "standard" "flowContentElems"
44 | , noAttributes := False
45 | , attributesFunc := "aAttributes"
46 | , elemsFunc := "aElems"
48 | , { name := "abbr", elemsFunc := "phrasingContentElems" } defaultConfig
49 | , { name := "address", elemsFunc := "addressElems" } defaultConfig
52 | , attributesFunc := "areaAttributes"
54 | , { name := "article" } defaultConfig
55 | , { name := "aside" } defaultConfig
57 | , attributesFunc := "audioAttributes"
58 | , elemsFunc := "audioElems"
60 | , { name := "b", elemsFunc := "phrasingContentElems" } defaultConfig
63 | , attributesFunc := "baseAttributes"
65 | , { name := "bdi", elemsFunc := "phrasingContentElems" } defaultConfig
66 | , { name := "bdo", elemsFunc := "phrasingContentElems" } defaultConfig
67 | , { name := "blockquote"
69 | , attributesFunc := "citationAttributes"
71 | , { name := "body" } defaultConfig
72 | , { name := "br", children := False } defaultConfig
73 | , { name := "button"
74 | , attributesFunc := "buttonAttributes"
75 | , elemsFunc := "phrasingContentElems"
77 | , { name := "canvas"
78 | , attributesFunc := "canvasAttributes"
79 | , elemsFunc := "canvasElems"
81 | , { name := "caption" } defaultConfig
82 | , { name := "cite", elemsFunc := "phrasingContentElems" } defaultConfig
83 | , { name := "code", elemsFunc := "phrasingContentElems" } defaultConfig
86 | , attributesFunc := "colAttributes"
88 | , { name := "colgroup"
89 | , attributesFunc := "colAttributes"
90 | , elemsFunc := "colgroupElems"
93 | , attributesFunc := "dataAttributes"
94 | , elemsFunc := "phrasingContentElems"
96 | , { name := "datalist", elemsFunc := "datalistElems" } defaultConfig
97 | , { name := "dd" } defaultConfig
99 | , attributesFunc := "changeAttributes"
101 | , elemsFunc := "flowOrPhrasingContentElems"
103 | , { name := "details"
104 | , attributesFunc := "detailsAttributes"
105 | , elemsFunc := "detailsElems"
107 | , { name := "dfn", elemsFunc := "dfnElems" } defaultConfig
108 | , { name := "dialog", attributesFunc := "dialogAttributes" } defaultConfig
109 | , { name := "div", elemsFunc := "divElems" } defaultConfig
110 | , { name := "dl", elemsFunc := "dlElems" } defaultConfig
111 | , { name := "dt", elemsFunc := "dtElems" } defaultConfig
112 | , { name := "em", elemsFunc := "phrasingContentElems" } defaultConfig
113 | , { name := "embed"
114 | , children := False
115 | , attributesFunc := "embedAttributes"
117 | , { name := "fieldset"
118 | , attributesFunc := "fieldsetAttributes"
119 | , elemsFunc := "fieldsetElems"
121 | , { name := "figcaption" } defaultConfig
122 | , { name := "figure", elemsFunc := "figureElems" } defaultConfig
123 | , { name := "footer", elemsFunc := "footerElems" } defaultConfig
125 | , attributesFunc := "formAttributes"
126 | , elemsFunc := "formElems"
128 | , { name := "h1", elemsFunc := "phrasingContentElems" } defaultConfig
129 | , { name := "h2", elemsFunc := "phrasingContentElems" } defaultConfig
130 | , { name := "h3", elemsFunc := "phrasingContentElems" } defaultConfig
131 | , { name := "h4", elemsFunc := "phrasingContentElems" } defaultConfig
132 | , { name := "h5", elemsFunc := "phrasingContentElems" } defaultConfig
133 | , { name := "h6", elemsFunc := "phrasingContentElems" } defaultConfig
134 | , { name := "head", elemsFunc := "headElems" } defaultConfig
135 | , { name := "header", elemsFunc := "headerElems" } defaultConfig
136 | , { name := "hgroup", elemsFunc := "hgroupElems" } defaultConfig
138 | , children := False
141 | , noAttributes := False
142 | , attributesFunc := "htmlAttributes"
143 | , elemsFunc := "htmlElems"
145 | , { name := "i", elemsFunc := "phrasingContentElems" } defaultConfig
146 | , { name := "iframe"
147 | , attributesFunc := "iframeAttributes"
148 | , children := False
151 | , attributesFunc := "imgAttributes"
152 | , children := False
154 | , { name := "input"
155 | , attributesFunc := "inputAttributes"
156 | , children := False
159 | , attributesFunc := "changeAttributes"
161 | , elemsFunc := "flowOrPhrasingContentElems"
163 | , { name := "kbd", elemsFunc := "phrasingContentElems" } defaultConfig
164 | , { name := "label"
165 | , attributesFunc := "labelAttributes"
166 | , elemsFunc := "labelElems"
168 | , { name := "legend", elemsFunc := "legendElems" } defaultConfig
169 | , { name := "li", attributesFunc := "liAttributes" } defaultConfig
171 | , noAttributes := False
172 | , children := False
173 | , attributesFunc := "linkAttributes"
175 | , { name := "main" } defaultConfig
177 | , attributesFunc := "mapAttributes"
179 | , elemsFunc := "flowOrPhrasingContentElems"
181 | , { name := "mark", elemsFunc := "phrasingContentElems" } defaultConfig
183 | , noAttributes := False
184 | , children := False
185 | , attributesFunc := "metaAttributes"
189 | , { name := "menu", elemsFunc := "ulElems" } defaultConfig
190 | , { name := "meter"
191 | , attributesFunc := "meterAttributes"
192 | , elemsFunc := "meterElems"
194 | , { name := "nav" } defaultConfig
195 | , { name := "noscript", elemsFunc := "noscriptElems" } defaultConfig
196 | , { name := "object"
197 | , attributesFunc := "objectAttributes"
198 | , elemsFunc := "objectElems"
201 | , attributesFunc := "olAttributes"
203 | , elemsFunc := "ulElems"
205 | , { name := "optgroup"
206 | , attributesFunc := "optgroupAttributes"
207 | , elemsFunc := "optgroupElems"
209 | , { name := "option"
210 | , attributesFunc := "optionAttributes"
211 | , elemsFunc := "plaintextElems"
213 | , { name := "output"
214 | , attributesFunc := "outputAttributes"
215 | , elemsFunc := "phrasingContentElems"
217 | , { name := "p", elemsFunc := "phrasingContentElems" } defaultConfig
218 | , { name := "picture", elemsFunc := "pictureElems" } defaultConfig
219 | , { name := "pre", elemsFunc := "phrasingContentElems" } defaultConfig
220 | , { name := "progress"
221 | , attributesFunc := "progressAttributes"
222 | , elemsFunc := "progressElems"
226 | , attributesFunc := "citationAttributes"
227 | , elemsFunc := "phrasingContentElems"
230 | , elemsFunc := "plaintextElems"
232 | , { name := "rt", elemsFunc := "phrasingContentElems" } defaultConfig
233 | , { name := "ruby", elemsFunc := "rubyElems" } defaultConfig
234 | , { name := "s", elemsFunc := "phrasingContentElems" } defaultConfig
235 | , { name := "samp", elemsFunc := "phrasingContentElems" } defaultConfig
236 | , { name := "script"
237 | , attributesFunc := "scriptAttributes"
238 | , elemsFunc := "scriptElems"
240 | , { name := "search" } defaultConfig
241 | , { name := "section" } defaultConfig
242 | , { name := "select"
243 | , attributesFunc := "selectAttributes"
244 | , elemsFunc := "selectElems"
247 | , attributesFunc := "slotAttributes"
248 | , elemsFunc := "slotElems"
250 | , { name := "small", elemsFunc := "phrasingContentElems" } defaultConfig
251 | , { name := "source"
252 | , attributesFunc := "sourceAttributes"
253 | , noAttributes := True
254 | , children := False
256 | , { name := "span", elemsFunc := "phrasingContentElems" } defaultConfig
257 | , { name := "strong", elemsFunc := "phrasingContentElems" } defaultConfig
258 | , { name := "style"
259 | , attributesFunc := "styleAttributes"
260 | , elemsFunc := "styleElems"
262 | , { name := "sub", elemsFunc := "phrasingContentElems" } defaultConfig
263 | , { name := "summary", elemsFunc := "summaryElems" } defaultConfig
264 | , { name := "sup", elemsFunc := "phrasingContentElems" } defaultConfig
265 | , { name := "table", elemsFunc := "tableElems" } defaultConfig
266 | , { name := "tbody", elemsFunc := "tbodyElems" } defaultConfig
267 | , { name := "td" , attributesFunc := "tdAttributes" } defaultConfig
268 | , { name := "template"
269 | , attributesFunc := "templateAttributes"
270 | , elemsFunc := "templateElems"
272 | , { name := "textarea"
273 | , attributesFunc := "textareaAttributes"
274 | , elemsFunc := "plaintextElems"
277 | , { name := "tfoot", elemsFunc := "tbodyElems" } defaultConfig
279 | , attributesFunc := "thAttributes"
280 | , elemsFunc := "thElems"
283 | , { name := "thead", elemsFunc := "tbodyElems" } defaultConfig
285 | , attributesFunc := "timeAttributes"
286 | , elemsFunc := "phrasingContentElems"
288 | , { name := "tr", elemsFunc := "trElems" } defaultConfig
289 | , { name := "track"
290 | , attributesFunc := "trackAttributes"
291 | , noAttributes := True
292 | , children := False
294 | , { name := "u", elemsFunc := "phrasingContentElems" } defaultConfig
295 | , { name := "ul", elemsFunc := "ulElems" } defaultConfig
296 | , { name := "var", elemsFunc := "phrasingContentElems" } defaultConfig
297 | , { name := "video"
298 | , attributesFunc := "videoAttributes"
299 | , elemsFunc := "videoElems"
302 | , children := False