Issue #3035977 by das-peter, drunken monkey: Fixed edge case problems with "Entity HTML output" on multilingual sites.