fix html entities decode method and share method