Synthesis of chitosan–sugar hybrid and evaluation of its bioactivity