Fix ReferenceText._substitute_variables()
Fix ReferenceText._substitute_variables()

- item may be a StyledText
- only the top-level MixedStyledText needs to have its style set

brechtm/rinohtype,brechtm/rinohtype,brechtm/rinohtype