19 Commits
Author SHA1 Message Date
Baptiste Daroussin fe203d650f Add the "role" attribute from ARIA
https://www.w3.org/TR/wai-aria/#host_general_role
2022-01-11 10:18:08 +01:00
kristapsdz 9ccaea4f88 Add some HTML5.2 elements. 2021-03-02 21:15:26 +00:00
kristapsdz a2d7dbc5e7 Add some more HTML5.2 attributes. 2021-03-02 21:07:08 +00:00
kristapsdz aaf82d965e Add support for the <main> flow tag. This is an HTML5 flow element and has
been since the initial HTML5 standard.

Fixes https://github.com/kristapsdz/kcgi/pull/89
2021-03-02 20:13:40 +00:00
kristapsdz f7ebff758c Docu. 2020-03-27 22:14:15 +00:00
kristapsdz f6cd493ab9 Recover from errors in khtml_attr functions enough to close the variable
argument context.  Rename KDATA_MAXELEMSZ for consistency.  style(9).
2020-03-27 21:19:03 +00:00
kristapsdz d4d3c1fb01 const-ify the khtmlreq passing into khtml_elemat. 2020-03-25 22:47:07 +00:00
kristapsdz 2404214cc2 API change: update entity value from 16 to 32 bits. Modern unicode can go
up to 150 000 or so.
2020-03-25 22:11:39 +00:00
kristapsdz 6364df8f8c Merge support for khtml_printf provided by Tracey Emery, thanks! Patch
tweaked for correct manpage invocation.  Merging a simple HTML test at
the same time.

Fixes https://github.com/kristapsdz/kcgi/pull/82/files
2020-03-25 20:49:42 +00:00
kristapsdz 3b3ee18d28 Have a return code from khtml_open and use kcgi_writer. 2018-01-12 14:36:22 +00:00
kristapsdz 3c80d0229d Copyright. 2018-01-11 05:57:49 +00:00
kristapsdz db8e4f310a Remove long-deprecated function. 2018-01-11 04:39:17 +00:00
kristapsdz c48efacb6e Use kcgi_err return codes. 2018-01-11 04:38:11 +00:00
kristapsdz d09e8aea3e Properly type textarea as a phrase element, not a flow. Noted by Ross Richardson--thanks!
Also make pretty-printing an option instead of the default.
2016-10-04 20:04:37 +00:00
kristapsdz 36eea2179c Portability: Linux systems don't (always?) have __BEGIN_DECLS defined, so
make sure that the kcgi*.h distributed headers do.  Originally noted by
Vitaliy T.--thanks!
2016-03-10 05:45:21 +00:00
kristapsdz e203269da1 Rename khtml_close to khtml_closeleem.
(Re-)Add khtml_close to close the HTML context like in the other libs.
Add khtml_open.
Remove khtml_text from the manpage.
Have khtml_close* return int.
Remove assertions from khtml_close*.
Have kxml_close and kjson_close close out the open scope.
2015-04-27 16:27:24 +00:00
kristapsdz 184371c685 Documentation. 2015-04-04 09:58:08 +00:00
kristapsdz 4bd9218539 Adding kjson_string_putdouble and khtml_write. 2014-12-17 13:45:42 +00:00
kristapsdz 917d51a1d9 Split kcgi into kcgi and kcgihtml.
Split kcgi.3 into many manpages.
2014-11-23 16:18:23 +00:00