bug fix: ampersand is now properly escaped given the context