Fixing a ClassCastException due to the incorrect "pattern" of elements representing a space checked when there are inline borders and padding.
Maybe not very elegant ... but at least it works; as Manuel suggested, the removal of trailing spaces should maybe happen somewhere else.
|