removeDuplicates
fun removeDuplicates(decorations: List<Any>?, source: String?): List<Any>
Content copied to clipboard
Remove identical adjacent tags from decorations.
Return
the decorations after treatment
Parameters
decorations
see prettify.parser.Job.decorations
source
the source code
Throws
the size of decoration is not a multiple of 2