25 Commits

Author SHA1 Message Date
Vadim Godunko
093295d501 Don't omit leading whitespace in text after child element. 2025-07-02 00:09:34 +04:00
Vadim Godunko
196e4d0c9d Omit trailing whitespaces only before end of tag. 2025-07-01 17:58:36 +04:00
Vadim Godunko
db9de3b8cb Add "pragma Ada_2022;"...
... to all packages that uses Ada 2022 features.
2023-12-01 16:32:10 +04:00
Vadim Godunko
72f7164ace Fix compiler warnings. 2023-05-11 19:07:52 +04:00
Vadim Godunko
52b711992b Remove use of pragma Ada_2022 2023-05-11 19:07:52 +04:00
Anthony Leonardo Gracio
9bed148e9a W216-024: Change file headers to Apache 2.0 with LLVM exceptions 2023-03-10 09:36:11 +01:00
Vadim Godunko
e0d8fa3dbd Remove pragmas unnecessary due to upgrade to GCC 12. 2022-08-30 07:04:21 +03:00
Vadim Godunko
6bcadc9400 Remove unnecessary lookup of HTML tag name. 2022-07-20 09:57:42 +03:00
Vadim Godunko
35345dd734 Remove dead code. 2022-07-20 09:57:42 +03:00
Vadim Godunko
560ee90560 Fix processing of CDATA in HTML mode. 2022-07-19 14:13:47 +03:00
Vadim Godunko
daf47f8162 Use empty attribute syntax for any HTML boolean attributes. 2022-07-19 14:13:47 +03:00
Vadim Godunko
31d34458d9 Write newline when content of pre and textarea starts from empty line. 2022-07-18 18:50:02 +03:00
Vadim Godunko
ddff617a7a Support of whitespace squeeze for all non-text elements...
... and control of whitespace omit/squeeze by xml:space attribute.
2022-07-18 18:50:02 +03:00
Vadim Godunko
ccb82d2ba1 Remove Success parameter for Set_Document_Locator subprogram. 2022-07-14 09:16:51 +03:00
Vadim Godunko
083f168b9c Add compute of tag omit rules when text follow the end tag 2022-07-12 12:55:25 +03:00
Vadim Godunko
bcdd9d1fdd Compute restrictions set for transparent HTML elements. 2022-07-12 12:55:25 +03:00
Vadim Godunko
e08f4bb1d4 Move Namespaces package from HTML to XML. 2022-07-12 12:55:25 +03:00
Vadim Godunko
0af16af1d5 Remove Qualified_Name component of elements and attributes. 2022-07-12 12:55:25 +03:00
Vadim Godunko
09ad47e673 Merge comments to provide all information in single place. 2022-06-29 15:12:48 +03:00
Vadim Godunko
5245706eff Default implementation of error handler...
... and its use by HTML5 writer.
2022-06-29 15:12:48 +03:00
Vadim Godunko
856d22aff3 Update data for transparent and no text elements. 2022-06-29 15:12:48 +03:00
Vadim Godunko
5d776ffe37 Update data for tags which start and/or end tags may be omitted. 2022-06-29 15:12:48 +03:00
Vadim Godunko
8353eb1242 In case of start tag event use the kind of new element...
... not the kind of element of the tag to be omitted.
2022-06-29 15:12:48 +03:00
Vadim Godunko
2ddf07b483 Minor changes in data structure to simplify and reuse code. 2022-06-29 15:12:48 +03:00
Vadim Godunko
ccec5f2450 Initial implementation of the HTML5 writer. 2022-06-29 15:12:48 +03:00