tabindexattribute to remaining elements.
autofocusattribute is now a global attribute.
- Implemented many more global attributes.
- Added very thorough doctype checks for all HTML 5 elements and attributes.
- Annotated javadocs
@since HTML 5for all HTML 5 elements and attributes.
Moved all attributes from
com.aoapps.html.any.attributes.text, making them now streamable.
- Implemented more elements.
- Added support for
- Removed self-referential generics that were emulating self-types. Instead, manually overloading all methods. Although a bit tedious in the implementation, this cleans-up the API by removing unnecessary type parameter.
AnyDocument.outprivate and deprecated the
unsafe(…)methods will remain, but their use is discouraged as it can be dangerous. Renamed
- Indentation changed from tab to two-space for consistency with the new AO Checkstyle Config project, which itself is based on Google Java Style Guide.
- Performed Checkstyle clean-up.
- Renamed static test helper classes since does not directly provide unit tests.
- Minimum Java version changed from 1.8 to 11.
- Now supports Java 9+ modules with included
- Maven artifact relocated from
- Package renamed from
- Implemented element content with self-referential generics optimized for lambda bodies.
- Implemented automatic newline and tab indentation.
- The output
Writermay now be replaced.
Document.out, please use the new
Split development-only classes into a new sub-project in
devel/. This sub-project is used only for development and is never deployed to artifact repositories.
Reverted a previous change made on 2020-03-01 that was released in version 0.1.0 on 2020-03-26. Encoding of in-context translation lookup markups is required after all.
One example is the lookup IDs added inside alt attributes like
alt="<##<value>##>". With this bug, this was incorrectly written as
alt="<##<value>##>", which fails XML validation.
This bug is unlikely to affect production systems for two reasons:
- Lookup markups are only performed when in-context translations are enabled, which is only when in development mode.
- Most production sites are served in SGML mode, where browsers will handle the incorrect HTML formatting. XML mode is used in development specifically for this stricter validation.
- New project for fluent Java DSL for high-performance HTML generation.
- New class Html:
- New functionality derived from methods and constants moved from HtmlTag.
- New class
Serializationrepresenting HTML/XHTML differences.
- Now supports writing XML declaration when both serving as XHTML and response encoding is not
- Now selects HTML or XHTML doctype based on current