fix escaping when replying to inbox items, fixes #3908
fix escaping when replying to inbox items, fixes #3908

Change-Id: I935601cd2aac4537cfba0cd4b68248c738d836ec
Reviewed-on: https://gerrit.instructure.com/2434
Reviewed-by: Brian Palmer <3cb4e1df5ec4da2c7c4af7c52cec8cf340a55a10@instructure.com>
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>

wrdsb/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms,ottenhoff/canvas-lms,Rvor/canvas-lms,loganrun/pincan,wye0220/shindig-canvas,redconfetti/canvas-lms,SwinburneOnline/canvas-lms,shidao-fm/canvas-lms,antoniuslin/canvas-lms,rup/Tarrax,venturehive/canvas-lms,arrivu/hoodemo,loganrun/pincan,sfu/canvas-lms,antoniuslin/canvas-lms,dgynn/canvas-lms,narigone/canvas,sdeleon28/canvas-lms,jay3126/canvas-lms,dgynn/canvas-lms,venturehive/canvas-lms,usmschuck/canvas,instructure/canvas-lms,wimemx/Canvas,Jyaasa/canvas-lms,antoniuslin/canvas-lms,merichar/canvas-lms,instructure/canvas-lms,nditech/red-innovadores-lms,matematikk-mooc/canvas-lms,skmezanul/canvas-lms,jay3126/canvas-lms,Rvor/canvas-lms,arrivu/hoodemo,gbleydon/canvas-lms,dgynn/canvas-lms,icelab/canvas,arrivu/arrivu-lms,rup/Tarrax,wrdsb/canvas-lms,landonwilkins/canvas-lms,samuels410/greatlakes-lms,usmschuck/canvas,greyhwndz/canvas-lms,djbender/canvas-lms,parbros/red-innovadores-lms,grahamb/canvas-lms,snehakachroo1/LSI_replica,samuels410/greatlakes-lms,usmschuck/canvas,roxolan/canvas-lms,eCNAP/CANVAS,Jyaasa/canvas-lms,juoni/canvas-lms,grahamb/canvas-lms,greyhwndz/canvas-lms,shidao-fm/canvas-lms,wimemx/Canvas,HotChalk/canvas-lms,parbros/red-innovadores-lms,sfu/canvas-lms,leftplusrightllc/canvas-lms,ottenhoff/canvas-lms,dgynn/canvas-lms,ankithbti/canvas_lms,instructure/canvas-lms,samuels410/greatlakes-lms,em2/canvas-lms,grahamb/canvas-lms,skmezanul/canvas-lms,roxolan/canvas-lms,kyroskoh/canvas-lms,arrivu/arrivu-lms,Jyaasa/canvas-lms,sfu/canvas-lms,HotChalk/canvas-lms,jay3126/canvas-lms,arrivu/hiring-site,skmezanul/canvas-lms,nditech/red-innovadores-lms,rup/Tarrax,Rvor/canvas-lms,landonwilkins/canvas-lms,icelab/canvas,icelab/canvas,grahamb/canvas-lms,shidao-fm/canvas-lms,sfu/canvas-lms,Unow/ins,va7map/canvas-lms,gbleydon/canvas-lms,redconfetti/canvas-lms,leftplusrightllc/canvas-lms,sli7246/canvas_branch,Unow/canvas-lms,ottenhoff/canvas-lms,arrivu/hiring-site,merichar/canvas-lms,juoni/canvas-lms,narigone/canvas,faraazkhan/canvas,instructure/canvas-lms,va7map/canvas-lms,Unow/canvas-lms,SwinburneOnline/canvas-lms,parbros/red-innovadores-lms,arrivu/qibla-ecampus,SwinburneOnline/canvas-lms,snehakachroo1/LSI_replica,ShreniiNepal/shrenii_lmp,arrivu/arrivu-lms,grahamb/canvas-lms,sdeleon28/canvas-lms,faraazkhan/canvas,kyroskoh/canvas-lms,arrivu/qibla-ecampus,efrj/canvas-lms,antoniuslin/canvas-lms,sfu/canvas-lms,tgroshon/canvas-lms,efrj/canvas-lms,em2/canvas-lms,Unow/ins,arrivu/jigsaw-lms,greyhwndz/canvas-lms,arrivu/hiring-site,instructure/canvas-lms,samuels410/greatlakes-lms,arrivu/hoodemo,fronteerio/canvas-lms,matematikk-mooc/canvas-lms,narigone/canvas,Jyaasa/canvas-lms,efrj/canvas-lms,venturehive/canvas-lms,kyroskoh/canvas-lms,utkarshx/canvas-lms,leftplusrightllc/canvas-lms,wye0220/shindig-canvas,HotChalk/canvas-lms,fronteerio/canvas-lms,tgroshon/canvas-lms,arrivu/jigsaw-lms,djbender/canvas-lms,utkarshx/canvas-lms,matematikk-mooc/canvas-lms,snehakachroo1/LSI_replica,narigone/canvas,Unow/ins,whalejasmine/canvas-lms,faraazkhan/canvas,shidao-fm/canvas-lms,gbleydon/canvas-lms,em2/canvas-lms,AndranikMarkosyan/lms,wrdsb/canvas-lms,AndranikMarkosyan/lms,AndranikMarkosyan/lms,whalejasmine/canvas-lms,loganrun/pincan,utkarshx/canvas-lms,wrdsb/canvas-lms,SwinburneOnline/canvas-lms,ankithbti/canvas_lms,instructure/canvas-lms,eCNAP/CANVAS,Unow/canvas-lms,arrivu/jigsaw-lms,whalejasmine/canvas-lms,redconfetti/canvas-lms,djbender/canvas-lms,HotChalk/canvas-lms,sdeleon28/canvas-lms,landonwilkins/canvas-lms,juoni/canvas-lms,sli7246/canvas_branch,eCNAP/CANVAS,landonwilkins/canvas-lms,ShreniiNepal/shrenii_lmp,sli7246/canvas_branch,efrj/canvas-lms,fronteerio/canvas-lms,tgroshon/canvas-lms,nditech/red-innovadores-lms,instructure/canvas-lms,Rvor/canvas-lms,matematikk-mooc/canvas-lms,eCNAP/CANVAS,venturehive/canvas-lms,sdeleon28/canvas-lms,ankithbti/canvas_lms,va7map/canvas-lms,arrivu/qibla-ecampus,AndranikMarkosyan/lms,leftplusrightllc/canvas-lms,juoni/canvas-lms,fronteerio/canvas-lms,roxolan/canvas-lms,kyroskoh/canvas-lms,wye0220/shindig-canvas,ShreniiNepal/shrenii_lmp,snehakachroo1/LSI_replica,usmschuck/canvas,jay3126/canvas-lms,wimemx/Canvas,va7map/canvas-lms,nditech/red-innovadores-lms,tgroshon/canvas-lms,ShreniiNepal/shrenii_lmp,redconfetti/canvas-lms,skmezanul/canvas-lms,djbender/canvas-lms,utkarshx/canvas-lms,sfu/canvas-lms,merichar/canvas-lms,whalejasmine/canvas-lms,greyhwndz/canvas-lms