public static interface DocumentFactoryBuilder.UnprocessedTagsHandler
Register a new unprocessed tags plugin.
Plugin is when tags were unexpectedly left after processing since they were not matched with input.
void onUnprocessed(java.lang.String prefix, Templater templater, java.lang.String tags, java.lang.Object value)
Customize behavior for unprocessed tags - tags which did not match input data.
By default unprocessed tags are left as-is (as a new tag with unprocessed appended as last metadata) but sometimes its useful to remove them or to replace them with a custom value (eg, from their metadata)
prefix - current navigation prefix
templater - Templater instance
tags - tags which were not matched with input values
value - currently processed leaf