diff --git a/lib/food/food.js b/lib/food/food.js index fcffb8c1b63..5a1f618dcc2 100644 --- a/lib/food/food.js +++ b/lib/food/food.js @@ -245,11 +245,11 @@ client.init(function loaded () { ) .append($('').addClass('width200px').text(foodlist[i].name)) .append($('').addClass('width150px').css('text-align','center').append(foodlist[i].portion)) - .append($('').addClass('width50px').css('text-align','center').append(foodlist[i].unit)) + .append($('').addClass('width50px').css('text-align','center').text(foodlist[i].unit)) .append($('').addClass('width100px').css('text-align','center').append(foodlist[i].carbs)) .append($('').addClass('width100px').css('text-align','center').append(foodlist[i].gi)) .append($('').addClass('width150px').append(foodlist[i].category)) - .append($('').addClass('width150px').append(foodlist[i].subcategory)) + .append($('').addClass('width150px').text(foodlist[i].subcategory)) .append($('').addClass('width100px').append(foodlist[i].fat)) .append($('').addClass('width100px').append(foodlist[i].protein)) .append($('').addClass('width100px').append(foodlist[i].energy))