Fix bug #19201 with after-strings not being displayed.